diff options
-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"; }; } |