Changeset 20035
- Timestamp:
- 02/29/2012 06:28:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/customize-controls.dev.js
r20031 r20035 76 76 77 77 this.refresh(); 78 79 // Prevent the form from saving when enter is pressed. 80 this.form.on( 'keydown', function( e ) { 81 if ( 13 === e.which ) // Enter 82 e.preventDefault(); 83 }); 78 84 }, 79 85 loader: function() {
Note: See TracChangeset
for help on using the changeset viewer.