fixed undefined variables in .js

Replaced undefined variables with proper selectors (as in 4.x branch) after deleting a comment.
This commit is contained in:
zemiacsik 2018-11-29 10:19:47 +01:00 committed by GitHub
parent e557e51074
commit 9232e07f44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,8 +168,8 @@
comment.fadeOut(1000, function() {
comment.remove();
if(commentsList.children().length === 0) {
noCommentsYet.show();
if($('.comments-holder .comments-list').children().length === 0) {
$('.no-comments-yet').show();
}
});
}