From 7d2589a55bad9880057b4321e044db539c9d132f Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Mon, 15 Feb 2021 12:00:50 +0200 Subject: asdf --- loggedin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'loggedin.js') 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"; }; } -- cgit v1.2.3