From 3b7d222ec38bec60ea0b745e8329be5d61018ac9 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 6 May 2014 15:04:02 -0400 Subject: [PATCH] prevent duplicate blockquotes #1491 --- 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 cf2277a13e..b187049a43 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -106,7 +106,7 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools', function addBlockquoteEllipses(blockquotes) { blockquotes.each(function() { var $this = $(this); - if ($this.find(':hidden').length) { + if ($this.find(':hidden').length && !$this.find('.toggle').length) { $this.append(''); } });