From 3333bfe4884b3e4e538abadf7a7552b3e7117611 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 22 Sep 2011 20:26:26 +0200 Subject: [PATCH] Hide at the end. --- 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 4882c635c..99a352ee3 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2719,7 +2719,6 @@ }, expand: function(thumb) { var a, filesize, img, max, _, _ref; - thumb.hidden = true; a = thumb.parentNode; img = $.el('img', { src: a.href @@ -2736,6 +2735,7 @@ return setTimeout(imgExpand.expand, 1000, thumb); } }); + thumb.hidden = true; return $.add(a, img); }, dialog: function() { diff --git a/script.coffee b/script.coffee index c97cbe807..b9b3b19f0 100644 --- a/script.coffee +++ b/script.coffee @@ -2014,7 +2014,6 @@ imgExpand = $.rm thumb.nextSibling expand: (thumb) -> - thumb.hidden = true a = thumb.parentNode img = $.el 'img', src: a.href @@ -2027,6 +2026,7 @@ imgExpand = imgExpand.contract thumb unless g.dead setTimeout imgExpand.expand, 1000, thumb + thumb.hidden = true $.add a, img dialog: ->