This commit is contained in:
James Campos 2011-09-14 14:24:53 -07:00
parent b0b252493f
commit 8926d5a45e
2 changed files with 2 additions and 2 deletions

View File

@ -2869,7 +2869,7 @@
if (lastChecked < now - 1 * DAY) { if (lastChecked < now - 1 * DAY) {
$.set('lastChecked', now); $.set('lastChecked', now);
if (conf['Check for Updates'] && VERSION !== 'master') { if (conf['Check for Updates'] && VERSION !== 'master') {
$.add($.el('script', { $.add(d.head, $.el('script', {
src: 'https://raw.github.com/aeosynth/4chan-x/stable/latest.js' src: 'https://raw.github.com/aeosynth/4chan-x/stable/latest.js'
})); }));
} }

View File

@ -2218,7 +2218,7 @@ Main =
$.set 'lastChecked', now $.set 'lastChecked', now
if conf['Check for Updates'] and VERSION isnt 'master' if conf['Check for Updates'] and VERSION isnt 'master'
$.add $.el 'script', src: 'https://raw.github.com/aeosynth/4chan-x/stable/latest.js' $.add d.head, $.el 'script', src: 'https://raw.github.com/aeosynth/4chan-x/stable/latest.js'
cutoff = now - 7*DAY cutoff = now - 7*DAY
hiddenThreads = $.get "hiddenThreads/#{g.BOARD}/", {} hiddenThreads = $.get "hiddenThreads/#{g.BOARD}/", {}