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:
Andrew Nacin 2014-02-04 16:06:13 +00:00
parent 2f013a3706
commit 6aaad4785a
1 changed files with 1 additions and 1 deletions

View File

@ -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' ) ) {