fix scrolling bug in file manager

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

No files matched your search

@@ -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