Skip to content

Commit 5fcf061

Browse files
committed
Update live-view.js
1 parent 6f53474 commit 5fcf061

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

live-view/live-view.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
// setup live view
33
async function setupLiveView() {
44

5+
// if link is embed
6+
if (linkData.embed) {
7+
body.classList.add('embed');
8+
}
9+
510
// if URL has a file
611
if (linkData.file) {
712

0 commit comments

Comments
 (0)