From 8e86e16cd424ce5cf3b0e42743cc0927d7475598 Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 20 Jul 2011 22:12:06 -0700 Subject: [PATCH] shave a line --- 4chan_x.user.js | 3 +-- script.coffee | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 28811aba3..9e5f0afcc 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2143,12 +2143,11 @@ }, mouseover: function(e) { var el, id, qp, quote, replyID, threadID, _i, _len, _ref, _results; - qp = $.el('div', { + qp = ui.el = $.el('div', { id: 'qp', className: 'replyhl' }); $.append(d.body, qp); - ui.el = qp; id = this.hash.slice(1); if (el = d.getElementById(id)) { qp.innerHTML = el.innerHTML; diff --git a/script.coffee b/script.coffee index e036105ef..63c27ee02 100644 --- a/script.coffee +++ b/script.coffee @@ -1661,11 +1661,10 @@ quotePreview = $.bind quote, 'mousemove', ui.hover $.bind quote, 'mouseout', quotePreview.mouseout mouseover: (e) -> - qp = $.el 'div', + qp = ui.el = $.el 'div', id: 'qp' className: 'replyhl' $.append d.body, qp - ui.el = qp id = @hash[1..] if el = d.getElementById id