From 521d708c22d59761d5651aa612b2bf0d59d84c8b Mon Sep 17 00:00:00 2001 From: Antonio Laguna Date: Mon, 27 Feb 2017 12:44:29 +0100 Subject: [PATCH] No need for this anymore --- src/js/utils/dom.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/js/utils/dom.js b/src/js/utils/dom.js index b620fdb..b5e20b0 100644 --- a/src/js/utils/dom.js +++ b/src/js/utils/dom.js @@ -42,22 +42,6 @@ export default class DOM { el.style.display = ''; } - /** - * Locks the scroll on the document by setting the HTML to have a hidden - * overflow. - */ - static lockScroll() { - document.documentElement.style.overflow = 'hidden'; - } - - /** - * Unlocks the scroll on the document by setting the HTML to have an auto - * overflow. - */ - static unlockScroll() { - document.documentElement.style.overflow = 'auto'; - } - /** * Fires a custom event on the given target. * @param {Element} target The target of the event.