Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-04-23 15:55:13 +01:00
parent dda1f8454a
commit 0032d7b943

View File

@ -208,7 +208,7 @@ start().catch(err => {
// with some basic styling to make the iframe full page // with some basic styling to make the iframe full page
delete document.body.style.height; delete document.body.style.height;
const iframe = document.createElement("iframe"); const iframe = document.createElement("iframe");
iframe.src = acceptBrowser ? "static/unable-to-load.html" : "static/incompatible-browser.html"; iframe.src = supportedBrowser ? "static/unable-to-load.html" : "static/incompatible-browser.html";
iframe.style.width = "100%"; iframe.style.width = "100%";
iframe.style.height = "100%"; iframe.style.height = "100%";
iframe.style.position = "absolute"; iframe.style.position = "absolute";