diff options
author | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-15 12:00:50 +0200 |
---|---|---|
committer | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-15 12:00:50 +0200 |
commit | 7d2589a55bad9880057b4321e044db539c9d132f (patch) | |
tree | 6eafa561409d8ab3a3187ed7f234c57b99e6370b | |
parent | b2c74f742213acb57b6d17f0a3a64c53a44f3f55 (diff) | |
download | fileup-7d2589a55bad9880057b4321e044db539c9d132f.tar.gz |
asdf
-rw-r--r-- | loggedin.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loggedin.js b/loggedin.js index bc18ef4..2b1f2c0 100644 --- a/loggedin.js +++ b/loggedin.js @@ -344,11 +344,11 @@ function openfile_nondir() { focus.filecontents.classList.remove('imgview'); focus.filecontents.style.backgroundImage = "unset"; - wnd.pre = mk(focus.filecontents, 'pre'); + var pre = mk(focus.filecontents, 'pre'); xhr.onload = function () { - wnd.pre.innerText = xhr.responseText; - wnd.pre.contentEditable = "true"; + pre.innerText = xhr.responseText; + pre.contentEditable = "true"; }; } |