Started work on fetching frontpage-lists at the same time as sending the html

This commit is contained in:
Kasper Rynning-Tønnesen
2018-08-08 22:21:53 +02:00
parent b79b0cc168
commit 1255940682
6 changed files with 99 additions and 36 deletions

View File

@@ -269,7 +269,7 @@ var Frontpage = {
if(window.location.hostname == "fb.zoff.me") {
add = "https://zoff.me";
}
Helper.ajax({
/*Helper.ajax({
url: add + "/api/frontpages",
method: "get",
success: function(response){
@@ -282,7 +282,7 @@ var Frontpage = {
Frontpage.get_frontpage_lists();
}, 3000);
},
});
});*/
},
start_snowfall: function() {