Skip to content

Commit 176ef93

Browse files
committed
Update live-view.js
1 parent 92af8fe commit 176ef93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

live-view/live-view.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ async function setupLiveView() {
6464

6565
// if on mobile device
6666
// and URL has a file
67-
if ((isMobile && linkData.file)
68-
|| isEmbed) {
67+
if (isMobile && linkData.file && !isEmbed) {
6968

7069
// close sidebar
7170
toggleSidebar(false);

0 commit comments

Comments
 (0)