Ticket #18556: 18556.5.diff
File 18556.5.diff, 1.4 KB (added by , 8 years ago) |
---|
-
src/wp-admin/css/admin-menu.css
281 281 width: auto; 282 282 } 283 283 284 #adminmenu.disable-popup .wp-submenu { 285 display: none; 286 } 287 284 288 #adminmenu .wp-submenu a { 285 289 font-size: 13px; 286 290 line-height: 1.2; -
src/wp-admin/js/common.js
210 210 $(e.target).parent().siblings('a').get(0).click(); 211 211 }); 212 212 213 // Disable popup menus on the admin toolbar and admin menu while dragging. 214 var draggables = '.widget, .widgets-sortables, .meta-box-sortables, .menu'; 215 $( draggables ).on( 'sortstart dragstart sortstop dragstop', function() { 216 $toolbar.toggleClass('disable-popup'); 217 $adminmenu.toggleClass('disable-popup'); 218 }); 219 213 220 $('#collapse-menu').on('click.collapse-menu', function() { 214 221 var respWidth, state; 215 222 -
src/wp-includes/css/admin-bar.css
173 173 padding: 6px 0; 174 174 } 175 175 176 #wpadminbar #wp-toolbar.disable-popup .ab-submenu { 177 display: none; 178 } 179 176 180 #wpadminbar .selected .shortlink-input { 177 181 display: block; 178 182 }