Ticket #20614: 20614-alternate-3.patch
File 20614-alternate-3.patch, 985 bytes (added by , 12 years ago) |
---|
-
wp-includes/js/admin-bar.js
21 21 sensitivity: 7, 22 22 interval: 100 23 23 }); 24 25 if ( $('body').hasClass('mobile') ) { 26 $('.ab-top-menu .menupop > a').on('click', function (e) { 27 e.preventDefault(); 28 }); 29 } 24 30 25 31 $('#wp-admin-bar-get-shortlink').click(function(e){ 26 32 e.preventDefault(); -
wp-admin/js/common.js
232 232 sensitivity: 7, 233 233 interval: 90 234 234 }); 235 236 if ( $('body').hasClass('mobile') ) { 237 $('.wp-has-submenu > a').on('click', function (e) { 238 e.preventDefault(); 239 }); 240 } 235 241 236 242 menu.on('focus.adminmenu', '.wp-submenu a', function(e){ 237 243 $(e.target).closest('li.menu-top').addClass('opensub');