Trick thread updater into allowing 1 second

PROTIP: minimum seconds are now techically two, but it'll still
display one. Anyone pissed about this needs to get a life.
This commit is contained in:
Zixaphir 2013-09-03 21:41:00 -07:00
parent c7d2021895
commit 720606d2e2
3 changed files with 3 additions and 3 deletions

View File

@ -8056,7 +8056,7 @@
j = j < 7 ? j : 7;
}
ThreadUpdater.seconds = Conf['Optional Increase'] ? (cur = [0, 5, 10, 15, 20, 30, 60, 90, 120, 240, 300][j] > i) ? cur : i : i;
ThreadUpdater.set('timer', ThreadUpdater.seconds);
ThreadUpdater.set('timer', ThreadUpdater.seconds++);
clearTimeout(ThreadUpdater.timeoutID);
return ThreadUpdater.timeout();
},

View File

@ -8043,7 +8043,7 @@
j = j < 7 ? j : 7;
}
ThreadUpdater.seconds = Conf['Optional Increase'] ? (cur = [0, 5, 10, 15, 20, 30, 60, 90, 120, 240, 300][j] > i) ? cur : i : i;
ThreadUpdater.set('timer', ThreadUpdater.seconds);
ThreadUpdater.set('timer', ThreadUpdater.seconds++);
clearTimeout(ThreadUpdater.timeoutID);
return ThreadUpdater.timeout();
},

View File

@ -175,7 +175,7 @@ ThreadUpdater =
if cur = [0, 5, 10, 15, 20, 30, 60, 90, 120, 240, 300][j] > i then cur else i
else
i
ThreadUpdater.set 'timer', ThreadUpdater.seconds
ThreadUpdater.set 'timer', ThreadUpdater.seconds++
clearTimeout ThreadUpdater.timeoutID
ThreadUpdater.timeout()