mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 12:35:03 +00:00
Local autosaves: show the notice above the post formats UI, see #23220
git-svn-id: http://core.svn.wordpress.org/trunk@24221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d78bb71099
commit
4facd0d567
@ -636,7 +636,7 @@ wp.autosave.local = {
|
|||||||
this.undo_post_data = wp.autosave.getPostData();
|
this.undo_post_data = wp.autosave.getPostData();
|
||||||
|
|
||||||
notice = $('#local-storage-notice');
|
notice = $('#local-storage-notice');
|
||||||
$('form#post').before( notice.addClass('updated').show() );
|
$('.wrap h2').after( notice.addClass('updated').show() );
|
||||||
|
|
||||||
notice.on( 'click', function(e) {
|
notice.on( 'click', function(e) {
|
||||||
var target = $( e.target );
|
var target = $( e.target );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user