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