From 047f68e70e37b479e757243509bb41cfd0a432df Mon Sep 17 00:00:00 2001 From: James Campos Date: Tue, 28 Dec 2010 13:14:47 -0800 Subject: [PATCH] be a little less cryptic --- 4chan_x.coffee | 4 ++-- 4chan_x.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/4chan_x.coffee b/4chan_x.coffee index ddaf53492..06a734d9a 100644 --- a/4chan_x.coffee +++ b/4chan_x.coffee @@ -840,7 +840,7 @@ updateTime = -> updateNow() else if time > 10 time = 0 - g.r.abort() + g.req.abort() updateNow() span.textContent = time @@ -864,7 +864,7 @@ updateInterval = -> span.textContent = -1 * n updateNow = -> - g.r = request location.href, updateCallback + g.req = request location.href, updateCallback updaterMake = -> div = AEOS.makeDialog 'updater', 'topright' diff --git a/4chan_x.js b/4chan_x.js index 8e9021cd6..145feae5e 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1102,7 +1102,7 @@ updateNow(); } else if (time > 10) { time = 0; - g.r.abort(); + g.req.abort(); updateNow(); } return span.textContent = time; @@ -1131,7 +1131,7 @@ } }; updateNow = function() { - return g.r = request(location.href, updateCallback); + return g.req = request(location.href, updateCallback); }; updaterMake = function() { var auto, div, html, interval;