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.