updated frontpage again

This commit is contained in:
Kasper Rynning-Tønnesen
2017-03-16 14:44:53 +01:00
parent 17b3450deb
commit bd298544bd
3 changed files with 10 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -372,7 +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") window.location.href = "https://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){ window.onpopstate = function(e){
var url_split = window.location.href.split("/"); var url_split = window.location.href.split("/");