Skip to content

Node.js based forum software built for the modern web

dont select hidden br

barisusakli8cfce1c91c22
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('<i class="fa fa-angle-down pointer toggle"></i>');
}
});