remove browser check

This commit is contained in:
Jonas Leder 2022-03-21 11:19:47 +01:00
parent 49ef0459cd
commit 68afb9607d
2 changed files with 1 additions and 12 deletions

View file

@ -1,9 +0,0 @@
import * as basicLightbox from 'basiclightbox'
if (!'customElements' in window) {
const instance = basicLightbox.create('<h1>Nicht unterstützter WebBrowser</h1><p>Leider verwenden sie einen nicht unterstützten Webbrowser. Dies führt dazu, dass die Seite nicht dargestellt werden kann. Ich empfehle eine aktuelle Version des <a href="https://www.google.com/chrome/">Chrome</a> oder des <a href="https://www.mozilla.org/en-US/firefox/new/">Firefox</a> Browsers zu verwenden.</p>',
{
closable: false
});
instance.show();
}

View file

@ -1,5 +1,3 @@
require("./browserCheck");
require("./error");
require("./imgPreview");
require("./viewPost");
@ -21,4 +19,4 @@ require("./customElements/sellingTable");
require("./customElements/skills");
require("./customElements/pwgen");
require("./customElements/inline-code");
require("./customElements/404Buttons");
require("./customElements/404Buttons");