Skip to content

Commit 79681af

Browse files
authored
Update live-view.js
1 parent 272eadc commit 79681af

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

live-view.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,17 @@ if (isMobile) {
145145

146146
addBottomSwipeListener();
147147

148+
sidebarBackground.addEventListener('click', () => {
149+
150+
if (bottomWrapper.classList.contains('expanded')) {
151+
152+
// retract bottom float
153+
bottomWrapper.classList.remove('expanded');
154+
155+
}
156+
157+
});
158+
148159
}
149160

150161

0 commit comments

Comments
 (0)