diff --git a/js/dom.js b/js/dom.js index b94a3d98..20d3a749 100644 --- a/js/dom.js +++ b/js/dom.js @@ -80,18 +80,6 @@ function onDOMready() { } -function injectCSS(url) { - if (!url) { - return; - } - document.head.appendChild($element({ - tag: 'link', - rel: 'stylesheet', - href: url - })); -} - - function scrollElementIntoView(element) { // align to the top/bottom of the visible area if wasn't visible const bounds = element.getBoundingClientRect();