F diff --git a/loggedin.js b/loggedin.js --- a/loggedin.js +++ b/loggedin.jsvar img = document.createElement('img');var filename = document.createElement('div');- if (is_directory) {+ if (is_directory!=0) {img.src="/mimeicons/directory.png";fileDiv.onclick = () => {pwd.push(name);