Moved part of line on the next one for readability.
This commit is contained in:
parent
a70b4a6fc5
commit
4c470006bf
@ -41,7 +41,8 @@ document.getElementById("overlay").addEventListener("click", e => {
|
||||
g_scale = 1;
|
||||
});
|
||||
|
||||
const file_links = Array.from(document.getElementsByTagName('tr')).slice(2).filter(e => e.lastChild.innerHTML != "DIR").map(l => l.firstChild.firstChild);
|
||||
const file_links = Array.from(document.getElementsByTagName('tr')).slice(2)
|
||||
.filter(e => e.lastChild.innerHTML != "DIR").map(l => l.firstChild.firstChild);
|
||||
|
||||
file_links.forEach(f => f.addEventListener('click', e => {
|
||||
const pathname = e.target.pathname;
|
||||
|
Loading…
Reference in New Issue
Block a user