prevent duplicate blockquotes #1491

v1.18.x
psychobunny 11 years ago
parent f89afd92b9
commit 3b7d222ec3

@ -106,7 +106,7 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',
function addBlockquoteEllipses(blockquotes) { function addBlockquoteEllipses(blockquotes) {
blockquotes.each(function() { blockquotes.each(function() {
var $this = $(this); var $this = $(this);
if ($this.find(':hidden').length) { if ($this.find(':hidden').length && !$this.find('.toggle').length) {
$this.append('<i class="fa fa-ellipsis-h pointer toggle"></i>'); $this.append('<i class="fa fa-ellipsis-h pointer toggle"></i>');
} }
}); });

Loading…
Cancel
Save