aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-16 08:19:53 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-16 08:19:53 +0200
commit76258988ffb9e182702f8cee8ef4392d493f4b77 (patch)
treee6d22db291cf2802d2e2b64507f0e31ed09f3106
parent7fe813121b2e6d95ad6e86eeaf12ed58dc2ff729 (diff)
downloadfileup-76258988ffb9e182702f8cee8ef4392d493f4b77.tar.gz
Image viewer bugs
-rw-r--r--css/style.css1
-rw-r--r--loggedin.js1
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 {