Skip to content

Commit c6796b6

Browse files
committed
Update gitauth.js
1 parent 30bb63d commit c6796b6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

git/gitauth.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,18 @@ window.onload = async () => {
116116

117117
// change sidebar title
118118
sidebarLogo.innerText = 'Repositories';
119+
120+
// don't transition
121+
body.classList.add('notransition');
122+
123+
toggleSidebar(true);
124+
125+
onNextFrame(() => {
126+
127+
body.classList.remove('notransition');
128+
129+
});
130+
119131

120132
// if on safari, refresh header color
121133
if (isSafari) {

0 commit comments

Comments
 (0)