Fixed footer button links to work when user changes from channel to frontpage

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-11 14:31:47 +01:00
parent f518547a0b
commit 59d8aa9204
7 changed files with 30 additions and 8 deletions

View File

@@ -58,6 +58,8 @@ function init(){
onepage_load();
}
Helper.share_link_modifier(true);
chan = $("#chan").html();
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
else add = "localhost";