Skip to content

Commit b8d8bbf

Browse files
authored
Create filebrowser.js
1 parent 9f88c1a commit b8d8bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filebrowser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ async function renderSidebarHTML() {
149149
// scroll to end of title
150150

151151
sidebarTitle.classList.add('notransition');
152-
onNextFrame(() => {
152+
window.setTimeout(() => {
153153
sidebarTitle.classList.remove('notransition');
154-
});
154+
}, 180);
155155

156156
sidebarTitle.children[0].scrollTo({
157157
left: sidebarTitle.children[0].scrollWidth - sidebarTitle.children[0].offsetLeft,

0 commit comments

Comments
 (0)