diff options
author | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-16 08:19:53 +0200 |
---|---|---|
committer | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-16 08:19:53 +0200 |
commit | 76258988ffb9e182702f8cee8ef4392d493f4b77 (patch) | |
tree | e6d22db291cf2802d2e2b64507f0e31ed09f3106 | |
parent | 7fe813121b2e6d95ad6e86eeaf12ed58dc2ff729 (diff) | |
download | fileup-76258988ffb9e182702f8cee8ef4392d493f4b77.tar.gz |
Image viewer bugs
-rw-r--r-- | css/style.css | 1 | ||||
-rw-r--r-- | loggedin.js | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/css/style.css b/css/style.css index b99d13f..ef22be7 100644 --- a/css/style.css +++ b/css/style.css @@ -315,6 +315,7 @@ input[type=submit]:hover { background-color: black; background-repeat: no-repeat; background-position: center; + background-size: contain; } .filecontentsroot, .foldercontents { diff --git a/loggedin.js b/loggedin.js index 8d9e92f..f34c169 100644 --- a/loggedin.js +++ b/loggedin.js @@ -337,7 +337,6 @@ function openfile_nondir() { let b = `data:image/png;base64,${base64ArrayBuffer(xhr.response)}`; focus.filecontents.style.backgroundImage = `url('${b}')`; focus.filecontents.classList.add('imgview'); - focus.filecontents.innerText = "asdf"; } } else { |