Trying small fix for redirecting and such

This commit is contained in:
Kasper Rynning-Tønnesen
2017-03-16 14:37:53 +01:00
parent 18e6c82e28
commit 9ae2634ec8
3 changed files with 9 additions and 6 deletions

View File

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