aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loggedin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/loggedin.js b/loggedin.js
index 08ca296..129f57b 100644
--- a/loggedin.js
+++ b/loggedin.js
@@ -153,7 +153,7 @@ function add_file_visuals(name, is_directory, mimetype) {
var 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);