From cfe054775552d0ac57203eb4b50d69f082af3896 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 22 Mar 2012 15:44:04 +0000 Subject: [PATCH] force reflow after hiding some thumbs --- ext/index/script.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/index/script.js b/ext/index/script.js index f49c3b95..b4a6776f 100644 --- a/ext/index/script.js +++ b/ext/index/script.js @@ -4,9 +4,11 @@ $(function() { var tag = blocked_tags[i]; if(tag) $(".thumb[data-tags~='"+tag+"']").hide(); } - // FIXME: need to trigger a reflow in opera, because opera implements + // need to trigger a reflow in opera, because opera implements // text-align: justify with element margins and doesn't recalculate // these margins when part of the line disappears... + $('#image-list').hide(); + $('#image-list').show(); }); function select_blocked_tags() {