Removed unused variables and trying to fix frontpage error on fb.zoff.me

This commit is contained in:
Kasper Rynning-Tønnesen
2017-10-16 22:03:33 +02:00
parent b25ca4eadd
commit 296327ba7d
7 changed files with 6 additions and 13 deletions

View File

@@ -221,8 +221,6 @@ var Frontpage = {
Frontpage.times_rotated = 0;
i = 0;
Frontpage.get_frontpage_lists();
//socket.emit("frontpage_lists", {version: parseInt(localStorage.getItem("VERSION"))});
socket.emit('get_userlists', Crypt.getCookie('_uI'));
}else if(frontpage){
Frontpage.times_rotated += 1;
Frontpage.add_backdrop(list, i+1);
@@ -432,8 +430,6 @@ function initfp() {
});
}
Frontpage.get_frontpage_lists();
//socket.emit('frontpage_lists', {version: parseInt(localStorage.getItem("VERSION"))});
//socket.emit('get_userlists', Crypt.getCookie('_uI'));
$("#channel-load").css("display", "none");
//Materialize.toast("<a href='/remote' style='color:white;'>Try out our new feature, remote!</a>", 8000)