prevent duplicate blockquotes #1491

This commit is contained in:
psychobunny
2014-05-06 15:04:02 -04:00
parent f89afd92b9
commit 3b7d222ec3

View File

@@ -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('<i class="fa fa-ellipsis-h pointer toggle"></i>');
}
});