WordPress.org

Make WordPress Core

Ticket #7435: hide-if-no-js.2.diff

File hide-if-no-js.2.diff, 455 bytes (added by caesarsgrunt, 10 years ago)

Better fix for the hide-if-no-js bug

  • wp-admin/js/edit-comments.js

     
    200211                        .animate( { backgroundColor:"transparent" }, 600 );
    201212               
    202213                setCommentsList();
     214               
     215                // show things that should be visible
     216                jQuery('#comment-'+r.id+' .hide-if-no-js').removeClass('hide-if-no-js');
    203217        },
    204218
    205219        error : function(r) {