There was an error while loading. Please reload this page.
1 parent 36d31e6 commit 882ab70Copy full SHA for 882ab70
1 file changed
src/over-the-top.ts
@@ -39,7 +39,7 @@ function initBorderLands() {
39
const lang = topDoc.documentElement.lang;
40
const colorScheme = topDoc.documentElement.style.colorScheme;
41
const root = topDoc.createElement('html');
42
- root.innerHTML = `<body style="margin:0; overflow=clip"><iframe width=${innerWidth} height=${innerHeight} style="border:0" src="${location.href}"/>`;
+ root.innerHTML = `<body style="margin:0; overflow=clip"><iframe width=${innerWidth} height=${innerHeight} style="border:0" src="${location.href}"></iframe>`;
43
crossing.iframe = root.querySelector<HTMLIFrameElement>('iframe')!;
44
root.lang = lang;
45
root.style.overflow = 'clip';
0 commit comments