File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 2
2
// function runs in loadFile() in gitsidebar.js
3
3
// if isMobile
4
4
function updateFloat ( ) {
5
-
5
+
6
6
// close sidebar
7
7
toggleSidebar ( false ) ;
8
8
saveSidebarStateLS ( ) ;
@@ -116,12 +116,6 @@ if (isMobile) {
116
116
117
117
} ) ;
118
118
119
- cd . on ( 'focus' , ( ) => {
120
-
121
- bottomWrapper . classList . add ( 'hidden' ) ;
122
-
123
- } ) ;
124
-
125
119
126
120
// update on screen resize
127
121
Original file line number Diff line number Diff line change @@ -3488,13 +3488,14 @@ function setupSidebar() {
3488
3488
// render sidebar
3489
3489
renderSidebarHTML ( ) ;
3490
3490
3491
- // if sidebar is open
3491
+ // if sidebar is open in local storage
3492
3492
if ( getStorage ( 'sidebar' ) == 'true'
3493
3493
&& ! isEmbed ) {
3494
3494
3495
3495
// don't transition
3496
3496
body . classList . add ( 'notransition' ) ;
3497
-
3497
+
3498
+ // open sidebar
3498
3499
toggleSidebar ( true ) ;
3499
3500
3500
3501
onNextFrame ( ( ) => {
Original file line number Diff line number Diff line change 4
4
5
5
6
6
// update worker name when updating worker
7
- const WORKER_NAME = 'codeit-worker-v618 ' ;
7
+ const WORKER_NAME = 'codeit-worker-v619 ' ;
8
8
9
9
10
10
// internal paths
You can’t perform that action at this time.
0 commit comments