mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 12:35:03 +00:00
Autosave: Fix typo in event namespace. props avryl, see #25272.
Built from https://develop.svn.wordpress.org/trunk@27092 git-svn-id: http://core.svn.wordpress.org/trunk@26964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c5802858cc
commit
9edfc740fd
@ -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' ) ) {
|
||||||
|
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
Loading…
x
Reference in New Issue
Block a user