Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.

git-svn-id: https://develop.svn.wordpress.org/trunk@17066 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-12-19 21:14:09 +00:00
parent f37bf06516
commit d8871ce771
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ setCommentsList = function() {
}
}
if ( theExtraList.size() == 0 || theExtraList.children().size() == 0 || untrash ) {
if ( theExtraList.size() == 0 || theExtraList.children().size() == 0 || untrash || unspam ) {
return;
}