Fix background color for approved comments, props DH-Shredder, fixes #17405

git-svn-id: http://svn.automattic.com/wordpress/trunk@18065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2011-05-28 02:30:04 +00:00
parent 41a001a682
commit b6fff6534a
3 changed files with 3 additions and 3 deletions

View File

@@ -513,7 +513,7 @@ commentReply = {
$('#replyrow').after(c);
id = $(id);
t.addEvents(id);
bg = id.css('background-color');
bg = id.hasClass('unapproved') ? '#FFFFE0' : id.closest('.widefat').css('backgroundColor');
id.animate( { 'backgroundColor':'#CCEEBB' }, 300 )
.animate( { 'backgroundColor': bg }, 300, function() {

File diff suppressed because one or more lines are too long