Forgot to reset frontpage counter

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-02 13:16:21 +01:00
parent dfc9ec73aa
commit c96b715ea6
4 changed files with 6 additions and 5 deletions

View File

@@ -171,7 +171,8 @@ var Nochan = {
}
setTimeout(function(){
if(Nochan.times_rotated == 2 && frontpage){
if(Nochan.times_rotated == 50 && frontpage){
Nochan.times_rotated = 0;
socket.emit("frontpage_lists");
}else if(frontpage){
Nochan.times_rotated += 1;