Skip to content

Commit c0f4fee

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

live-view/live-view.js

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

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

6970
// close sidebar
7071
toggleSidebar(false);

0 commit comments

Comments
 (0)