Made the site localhostproof

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-10 12:40:43 +01:00
parent 27d5612293
commit 27d3d89aa1
2 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -444,7 +444,9 @@ function onepage_load(){
if($("#alreadyfp").length == 1){ if($("#alreadyfp").length == 1){
window.initfp(); window.initfp();
}else { }else {
$("#scripts").append($($(e)[45]).html()); if(window.location.hostname == "zoff.no") number = 45;
else number = 63;
$("#scripts").append($($(e)[number]).html());
} }
if($("#alreadychannel").length == 0){ if($("#alreadychannel").length == 0){