fix scrolling bug in file manager
This commit is contained in:
@@ -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
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user