Merge branch 'jonasled-master-patch-76500' into 'master'
remove browser check See merge request jonasled/website!11
This commit is contained in:
commit
1781d611f3
2 changed files with 1 additions and 12 deletions
|
@ -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();
|
||||
}
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue