fix scrolling bug in file manager

This commit is contained in:
2020-02-18 17:06:51 +01:00
parent 449c69b12d
commit 2bc4aed361
2 changed files with 1 additions and 3 deletions

View File

@@ -233,8 +233,6 @@ DirectoryElement.prototype.renderVisibleFiles = function(freshStart) {
if (freshStart) {
this.dirContainer.innerHTML = ""
this.dirContainer.style.height = totalHeight+"px"
this.dirContainer.scrollTop = 0
this.lastScrollTop = 0
scrollDown = true
let totalSize = 0

View File

@@ -6,7 +6,7 @@ function DetailsWindow(viewer) {
this.modal = new Modal(
document.getElementById("file_viewer"),
() => { this.toggle() },
"File Details", "1200px", "1000px",
"File Details", "1400px", "1000px",
)
let clone = document.getElementById("tpl_details_popup").content.cloneNode(true)