Removed redirect in javascript

This commit is contained in:
Kasper Rynning-Tønnesen
2017-03-16 15:27:41 +01:00
parent bd298544bd
commit 82723e101f
3 changed files with 8 additions and 8 deletions

View File

@@ -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);
}
if(window.location.hostname != "zoff.me"){
/*if(window.location.hostname != "zoff.me"){
console.log("not zoff.me, redirecting"); //redirect
window.location.href = "https://zoff.me";
}
}*/
window.onpopstate = function(e){
var url_split = window.location.href.split("/");