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:
@@ -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
Reference in New Issue
Block a user