Skip to content

Commit 79c4d9a

Browse files
Administration: Fix comment offset bug in meta box for custom comment types.
1 parent 18749a4 commit 79c4d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/_enqueues/admin/post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ window.wp = window.wp || {};
9797
* @param {number} total Total number of comments to load.
9898
*/
9999
load: function(total){
100-
this.st = jQuery('#the-comment-list tr.comment:visible').length;
100+
this.st = jQuery('#the-comment-list tr[id^="comment-"]:visible').length;
101101
this.get(total);
102102
}
103103
};

0 commit comments

Comments
 (0)