From 8926d5a45e5ad8dd6350dc9e5758ac8f64cbb99f Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 14 Sep 2011 14:24:53 -0700 Subject: [PATCH] derp --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 97470a2ea..653c3f9c6 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2869,7 +2869,7 @@ if (lastChecked < now - 1 * DAY) { $.set('lastChecked', now); 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' })); } diff --git a/script.coffee b/script.coffee index 0a57c3628..955e18995 100644 --- a/script.coffee +++ b/script.coffee @@ -2218,7 +2218,7 @@ Main = $.set 'lastChecked', now 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 hiddenThreads = $.get "hiddenThreads/#{g.BOARD}/", {}