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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin
2010-12-19 21:14:09 +00:00
parent b43210d793
commit dfe2759a06
3 changed files with 3 additions and 3 deletions

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;
}