Admin: fix repositioning notices
Fixes #34294. Props afercia. Built from https://develop.svn.wordpress.org/trunk@35238 git-svn-id: http://core.svn.wordpress.org/trunk@35204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -345,8 +345,10 @@ window.autosave = function() {
|
||||
excerpt: excerpt
|
||||
};
|
||||
|
||||
$notice = $( '#local-storage-notice' );
|
||||
$('.wrap h2').first().after( $notice.addClass( 'notice-warning' ).show() );
|
||||
$notice = $( '#local-storage-notice' )
|
||||
.insertAfter( $( '.wrap' ).children( ':header' ).first() )
|
||||
.addClass( 'notice-warning' )
|
||||
.show();
|
||||
|
||||
$notice.on( 'click.autosave-local', function( event ) {
|
||||
var $target = $( event.target );
|
||||
|
||||
2
wp-includes/js/autosave.min.js
vendored
2
wp-includes/js/autosave.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user