From 8cfce1c91c2208da0bc08d30ba86b8505edd73f8 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 16 Jul 2014 19:51:24 -0400 Subject: [PATCH] dont select hidden br --- public/src/forum/topic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index 85831511ba..d6663ed3a9 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -164,7 +164,7 @@ define('forum/topic', dependencies, function(pagination, infinitescroll, threadT function addBlockquoteEllipses(blockquotes) { blockquotes.each(function() { var $this = $(this); - if ($this.find(':hidden').length && !$this.find('.toggle').length) { + if ($this.find(':hidden:not(br)').length && !$this.find('.toggle').length) { $this.append(''); } });