diff --git a/files/static/assets/js/main.js b/files/static/assets/js/main.js index e39b7dc..f735943 100644 --- a/files/static/assets/js/main.js +++ b/files/static/assets/js/main.js @@ -20,7 +20,6 @@ function onvolumechange(e) { const ext_filter = (ext, pathname) => pathname.toLowerCase().endsWith(ext); function to_overlay(eltyp, pathname) { - const div = document.createElement("div"); const el = document.createElement(eltyp); const el_label = document.createElement("span"); el_label.textContent = decodeURI(pathname.substr(pathname.lastIndexOf("/") + 1)); @@ -33,7 +32,6 @@ function to_overlay(eltyp, pathname) { el.src = pathname; overlay.appendChild(el); overlay.appendChild(el_label); - // overlay.appendChild(div); overlay.style.visibility = "visible"; }