From 8acec511167ce3d21cd5df8e459523afc60f7190 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 9 May 2013 18:23:05 +0000 Subject: [PATCH] Local autosaves: show the notice above the post formats UI, see #23220 git-svn-id: https://develop.svn.wordpress.org/trunk@24221 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/autosave.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/autosave.js b/wp-includes/js/autosave.js index 3d5a13003b..54c2fa5a87 100644 --- a/wp-includes/js/autosave.js +++ b/wp-includes/js/autosave.js @@ -636,7 +636,7 @@ wp.autosave.local = { this.undo_post_data = wp.autosave.getPostData(); notice = $('#local-storage-notice'); - $('form#post').before( notice.addClass('updated').show() ); + $('.wrap h2').after( notice.addClass('updated').show() ); notice.on( 'click', function(e) { var target = $( e.target );