Make WordPress Core

Ticket #10021: 10021.4.diff

File 10021.4.diff, 723 bytes (added by Denis-de-Bernardy, 16 years ago)
  • wp-admin/js/common.dev.js

     
    175175        .animate( { opacity: 1 }, 400);
    176176
    177177        // Move .updated and .error alert boxes
    178         $('div.wrap').children('h2:first').nextAll('div.updated, div.error').addClass('below-h2');
    179         $('div.updated, div.error').not('.below-h2').insertAfter( $('div.wrap').children('h2:first') );
     178        $('div.wrap h2:first').nextAll('div.updated, div.error').addClass('below-h2');
     179        $('div.updated, div.error').not('.below-h2').insertAfter( $('div.wrap h2:first') );
    180180
    181181        // screen settings tab
    182182        $('#show-settings-link').click(function () {