Skip to content

Commit 273611b

Browse files
committed
Update filebrowser.js
1 parent 0693bc5 commit 273611b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

filebrowser.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ async function renderSidebarHTML(pageNum = 1) {
833833
}
834834

835835

836-
sidebar.scrollTo(0, (sidebar.scrollHeight - sidebar.clientHeight - 54));
836+
sidebar.style.overflow = 'hidden';
837837

838838
onNextFrame(() => {
839839

@@ -843,6 +843,8 @@ async function renderSidebarHTML(pageNum = 1) {
843843
// scroll to end of additional page
844844
sidebar.scrollTo(0, (sidebar.scrollHeight - sidebar.clientHeight - 1));
845845

846+
sidebar.style.overflow = '';
847+
846848
});
847849

848850
}

0 commit comments

Comments
 (0)