Removed div and commented out code line.
This commit is contained in:
parent
72d6e835bb
commit
3dda0eedb5
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user