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:
Helen Hou-Sandi 2013-08-15 13:48:05 +00:00
parent 54f2629d52
commit 2225b6ff1f
1 changed files with 1 additions and 1 deletions

View File

@ -862,7 +862,7 @@
if ( 9 === event.which ) // tab
return;
if ( 13 === event.which ) // enter
parent.send( 'close' );
this.click();
event.preventDefault();
});