Skip to content

Commit 7cca7d5

Browse files
committed
Update api-link-parser.js
1 parent f2d4fe7 commit 7cca7d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-link-parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function decodeLink(url) {
1515
url = decodeURIComponent(url);
1616

1717

18-
const isEmbed = (window.top !== window);
18+
const isEmbed = urlQuery.get('embed');
1919

2020
const isLiveViewDisabled = (urlQuery.get('live') === 'false' || urlQuery.get('l') === 'f');
2121

0 commit comments

Comments
 (0)