fix thread hiding; ms/day

This commit is contained in:
James Campos 2011-04-11 02:06:07 -07:00
parent 0a12099c92
commit f846b5f509
2 changed files with 2 additions and 2 deletions

View File

@ -1556,7 +1556,7 @@
}
lastChecked = Number(GM_getValue('lastChecked', '0'));
now = Date.now();
DAY = 24 * 60 * 60;
DAY = 1000 * 60 * 60 * 24;
if (lastChecked < now - 1 * DAY) {
cutoff = now - 7 * DAY;
while (g.hiddenThreads.length) {

View File

@ -1193,7 +1193,7 @@ if $.isDST() then g.chanOffset -= 1
lastChecked = Number GM_getValue('lastChecked', '0')
now = Date.now()
DAY = 24 * 60 * 60
DAY = 1000 * 60 * 60 * 24
if lastChecked < now - 1*DAY
cutoff = now - 7*DAY
while g.hiddenThreads.length