Autosave: Fix typo in event namespace. props avryl, see #25272.
git-svn-id: https://develop.svn.wordpress.org/trunk@27092 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2f013a3706
commit
6aaad4785a
|
@ -349,7 +349,7 @@ window.autosave = function(){};
|
||||||
$notice = $( '#local-storage-notice' );
|
$notice = $( '#local-storage-notice' );
|
||||||
$('.wrap h2').first().after( $notice.addClass( 'updated' ).show() );
|
$('.wrap h2').first().after( $notice.addClass( 'updated' ).show() );
|
||||||
|
|
||||||
$notice.on( 'click.autosae-local', function( event ) {
|
$notice.on( 'click.autosave-local', function( event ) {
|
||||||
var $target = $( event.target );
|
var $target = $( event.target );
|
||||||
|
|
||||||
if ( $target.hasClass( 'restore-backup' ) ) {
|
if ( $target.hasClass( 'restore-backup' ) ) {
|
||||||
|
|
Loading…
Reference in New Issue