mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removed redirect in javascript
This commit is contained in:
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
8
public/dist/main.min.js
vendored
8
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -372,10 +372,10 @@ function initfp(){
|
|||||||
//Materialize.toast('<p id="aprilfools">We suck at pranks..<a class="waves-effect waves-light btn light-green" style="pointer-events:none;">Agreed</a></p>', 100000);
|
//Materialize.toast('<p id="aprilfools">We suck at pranks..<a class="waves-effect waves-light btn light-green" style="pointer-events:none;">Agreed</a></p>', 100000);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(window.location.hostname != "zoff.me"){
|
/*if(window.location.hostname != "zoff.me"){
|
||||||
console.log("not zoff.me, redirecting"); //redirect
|
console.log("not zoff.me, redirecting"); //redirect
|
||||||
window.location.href = "https://zoff.me";
|
window.location.href = "https://zoff.me";
|
||||||
}
|
}*/
|
||||||
|
|
||||||
window.onpopstate = function(e){
|
window.onpopstate = function(e){
|
||||||
var url_split = window.location.href.split("/");
|
var url_split = window.location.href.split("/");
|
||||||
|
|||||||
Reference in New Issue
Block a user