mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-02 00:57:40 +02:00
Don't call updatePending() if the pending count hasn't changed. See #19905.
Stops a zero pending count bubble being shown when unspamming and approved comment when there are no pending comments. git-svn-id: http://svn.automattic.com/wordpress/trunk@20535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4fae1f64c2
commit
192a2e2f31
@ -185,6 +185,7 @@ setCommentsList = function() {
|
||||
pending = -1;
|
||||
}
|
||||
|
||||
if ( pending )
|
||||
updatePending(pending);
|
||||
|
||||
$('span.spam-count').each( function() {
|
||||
|
Loading…
Reference in New Issue
Block a user