From fa498f369994b4f818c0ddc8fccaf5ebea93b86d Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 20 Jul 2011 22:15:15 -0700 Subject: [PATCH] parens --- 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 9e5f0afcc..a7b06f0fc 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2181,7 +2181,7 @@ }, parse: function(req, id, threadID) { var body, html, op, qp, reply, _i, _len, _ref; - if (!(qp = ui.el && qp.innerHTML === ("Loading " + id + "..."))) { + if (!((qp = ui.el) && (qp.innerHTML === ("Loading " + id + "...")))) { return; } if (req.status !== 200) { diff --git a/script.coffee b/script.coffee index 63c27ee02..d970e3378 100644 --- a/script.coffee +++ b/script.coffee @@ -1683,7 +1683,7 @@ quotePreview = $.removeClass el, 'qphl' if el = d.getElementById @hash[1..] ui.hoverend() parse: (req, id, threadID) -> - return unless qp = ui.el and qp.innerHTML is "Loading #{id}..." + return unless (qp = ui.el) and (qp.innerHTML is "Loading #{id}...") if req.status isnt 200 qp.innerHTML = "#{req.status} #{req.statusText}"