Ticket #17405: 17405.diff
| File 17405.diff, 871 bytes (added by DH-Shredder, 2 years ago) |
|---|
-
wp-admin/js/edit-comments.dev.js
505 505 506 506 t.revert(); 507 507 t.addEvents($(id)); 508 bg = $(id).hasClass('unapproved') ? '#FFFFE0' : '#FFFFFF';509 508 509 bg = $(id).hasClass('unapproved') ? '#FFFFE0' : $(id).closest('.widefat').css('backgroundColor'); 510 510 511 $(id) 511 512 .animate( { 'backgroundColor':'#CCEEBB' }, 300 ) 512 513 .animate( { 'backgroundColor': bg }, 300, function() { 513 514 if ( pid ) { 514 515 pid = $(pid) 515 516 .animate( { 'backgroundColor':'#CCEEBB' }, 300 ) 516 .animate( { 'backgroundColor': '#FFFFFF'}, 300 )517 .animate( { 'backgroundColor': bg }, 300 ) 517 518 .removeClass('unapproved').addClass('approved'); 518 519 519 520 pid.find('div.comment_status').html('1');
