diff options
author | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-13 14:44:01 +0200 |
---|---|---|
committer | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-13 14:44:01 +0200 |
commit | 3bf7662dbdd5c7641e5a2758db88e89e31af7d68 (patch) | |
tree | 9ebe6998c1752b517e438382b2c421e2e3d96faf /loggedin.js | |
parent | 03e20f71b4b9339dd0459363978e10dea457990c (diff) | |
download | fileup-3bf7662dbdd5c7641e5a2758db88e89e31af7d68.tar.gz |
The X Window System, part 4 of N
Diffstat (limited to 'loggedin.js')
-rw-r--r-- | loggedin.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/loggedin.js b/loggedin.js index 8e0bf15..0f51c1b 100644 --- a/loggedin.js +++ b/loggedin.js @@ -210,8 +210,7 @@ function move_file(new_folder, filename) { xhr.send(data); } -function new_folder() { - var dirname = prompt(`Directory name`, "New Folder"); +function new_folder() { var dirname = prompt(`Directory name`, "New Folder"); if (!dirname) return; @@ -330,8 +329,7 @@ function make_window(pwd) { h2.onmousedown = (e) => { begin_drag(e, wnd_html); e.preventDefault(); - }; - + }; path = document.createElement('div'); path.classList.add('path'); @@ -347,6 +345,7 @@ function make_window(pwd) { { wnd.foldercontents = document.createElement('div'); + wnd.foldercontents.classList.add('foldercontents'); wnd_html.appendChild(wnd.foldercontents); var h3 = document.createElement('h3'); |