Ticket #22606: customize-controls.js.diff
File customize-controls.js.diff, 550 bytes (added by , 12 years ago) |
---|
-
customize-controls.js
886 886 event.preventDefault(); 887 887 }); 888 888 889 $('.upload-dropzone a.upload').keydown( function( event ) { 890 if ( 13 === event.which ) // enter 891 this.click(); 892 }); 893 889 894 $('.collapse-sidebar').on( 'click keydown', function( event ) { 890 895 if ( event.type === 'keydown' && 13 !== event.which ) // enter 891 896 return;