mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
fixing backdropfunction some
This commit is contained in:
@@ -122,7 +122,7 @@ var Nochan = {
|
||||
},
|
||||
|
||||
add_backdrop: function(list, i) {
|
||||
if(i >= list.length || i >= 12) i = 0;
|
||||
if(i >= list.length || i >= 8) i = 0;
|
||||
|
||||
var id = list[i][1];
|
||||
|
||||
@@ -173,6 +173,7 @@ var Nochan = {
|
||||
setTimeout(function(){
|
||||
if(Nochan.times_rotated == 50 && frontpage){
|
||||
Nochan.times_rotated = 0;
|
||||
i = 0;
|
||||
socket.emit("frontpage_lists");
|
||||
}else if(frontpage){
|
||||
Nochan.times_rotated += 1;
|
||||
|
||||
Reference in New Issue
Block a user