migrated much of the listeners

This commit is contained in:
Kasper Rynning-Tønnesen
2018-04-24 14:47:31 +02:00
parent 30885e332b
commit a5134928b5
12 changed files with 484 additions and 337 deletions

View File

@@ -14,9 +14,9 @@ $(document).ready(function (){
'secure': true
};
$("#about").modal();
$("#contact").modal();
$("#help").modal();
M.Modal.init(document.getElementById("about"));
M.Modal.init(document.getElementById("contact"));
M.Modal.init(document.getElementById("help"));
if(window.location.hostname == "remote.zoff.me") add = "https://zoff.me";
else add = "localhost";