Ticket #21283: 21283.14.diff
File 21283.14.diff, 1.8 KB (added by , 12 years ago) |
---|
-
wp-admin/js/customize-controls.js
98 98 var toggleFreeze = false; 99 99 100 100 // Support the .dropdown class to open/close complex elements 101 this.container.on( 'click focus', '.dropdown', function( event ) { 101 this.container.on( 'click keydown', '.dropdown', function( event ) { 102 103 if ( event.type === 'keydown' && 13 !== event.which ) 104 return; 105 102 106 event.preventDefault(); 103 107 104 108 if (!toggleFreeze) … … 168 172 this.uploader = new wp.Uploader( this.uploader ); 169 173 170 174 this.remover = this.container.find('.remove'); 171 this.remover.click( function( event ) { 175 this.remover.on( 'click keydown', function( event ) { 176 177 if ( event.type === 'keydown' && 13 !== event.which ) 178 return; 179 172 180 control.setting.set( control.params.removed ); 173 181 event.preventDefault(); 174 182 }); … … 882 890 event.preventDefault(); 883 891 }); 884 892 885 $('.collapse-sidebar').click( function( event ) { 893 $('.collapse-sidebar').on( 'click keydown', function( event ) { 894 895 if ( event.type === 'keydown' && 13 !== event.which ) 896 return; 897 886 898 overlay.toggleClass( 'collapsed' ).toggleClass( 'expanded' ); 887 899 event.preventDefault(); 888 900 }); -
wp-admin/css/wp-admin.css
5534 5534 margin: 0; 5535 5535 } 5536 5536 5537 .wp-full-overlay-sidebar .wp-full-overlay-header { 5538 border-top: 0; 5539 border-bottom: 1px solid #fff; 5540 box-shadow: inset 0 -1px 0 0px #dfdfdf; 5541 } 5542 5537 5543 .wp-full-overlay-sidebar .wp-full-overlay-footer { 5538 5544 bottom: 0; 5539 5545 border-bottom: 0;