mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-16 10:32:08 -05:00
16 lines
342 B
JavaScript
16 lines
342 B
JavaScript
var interval;
|
|
function check() {
|
|
if (themeloaded == 1) {
|
|
clearInterval(interval);
|
|
const body = document.querySelector("body");
|
|
body.style.removeProperty("display");
|
|
}
|
|
if ($("#panicmode").length > 0) {
|
|
$("#panicmode").prop({ href: panicurl });
|
|
}
|
|
}
|
|
|
|
window.onload = function () {
|
|
interval = setInterval(check, 50);
|
|
};
|