There was an error while loading. Please reload this page.
1 parent 8ad54fa commit 79e32f9Copy full SHA for 79e32f9
1 file changed
docs/pageLoader.html
@@ -51,7 +51,7 @@
51
// iframes are sandboxed by default and if we popout the live preview, those previews wont be
52
// reachable from this sandboxed iframe server. So we have to request access.
53
// https://developer.mozilla.org/en-US/docs/Web/API/Document/requestStorageAccess
54
- document.requestStorageAccess().then(
+ document.requestStorageAccess && document.requestStorageAccess().then(
55
() => {
56
console.log("access granted");
57
},
0 commit comments