mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-17 22:10:23 +01:00
dont select hidden br
This commit is contained in:
@@ -164,7 +164,7 @@ define('forum/topic', dependencies, function(pagination, infinitescroll, threadT
|
|||||||
function addBlockquoteEllipses(blockquotes) {
|
function addBlockquoteEllipses(blockquotes) {
|
||||||
blockquotes.each(function() {
|
blockquotes.each(function() {
|
||||||
var $this = $(this);
|
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>');
|
$this.append('<i class="fa fa-angle-down pointer toggle"></i>');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user