Make sure the close button in the Customizer still works after a refresh. props lessbloat. fixes #22682.
git-svn-id: https://develop.svn.wordpress.org/trunk@25027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
54f2629d52
commit
2225b6ff1f
@ -862,7 +862,7 @@
|
||||
if ( 9 === event.which ) // tab
|
||||
return;
|
||||
if ( 13 === event.which ) // enter
|
||||
parent.send( 'close' );
|
||||
this.click();
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user