Skip to content

Commit fcf44bb

Browse files
committed
Update filebrowser.js
1 parent 3a41c42 commit fcf44bb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

filebrowser.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,11 @@ async function renderSidebarHTML() {
368368

369369
// scroll to start of repo name
370370
sidebarLogo.scrollTo(0, 0);
371+
sidebarLogo.classList.add('notransition');
372+
373+
window.setTimeout(() => {
374+
sidebarLogo.classList.remove('notransition');
375+
}, 180);
371376

372377
} else {
373378

@@ -376,6 +381,11 @@ async function renderSidebarHTML() {
376381

377382
// scroll to start of repo name
378383
sidebarLogo.scrollTo(0, 0);
384+
sidebarLogo.classList.add('notransition');
385+
386+
window.setTimeout(() => {
387+
sidebarLogo.classList.remove('notransition');
388+
}, 180);
379389

380390
}
381391

0 commit comments

Comments
 (0)