FILEUP



LOG | FILES | OVERVIEW


F diff --git a/loggedin.js b/loggedin.js --- a/loggedin.js +++ b/loggedin.js
xhr.open('POST', '/php/readfile.php', true);
- focus.filecontents.innerText = "Loading...";
+ focus.filecontents.innerText = "";
focus.filecontents.style.display = 'block';
focus.foldercontents.style.display = 'none';
}
visuals.ondragstart = (e) => {
+ if (focus.pwd.length == 0 && fileview.filename == "trash") {
+ e.preventDefault();
+ return;
+ }
begin_drag_fileview(e, fileview);
e.preventDefault();
};