diff --git wp-includes/js/admin-bar.js wp-includes/js/admin-bar.js
index ce44436..1b576b7 100644
|
|
|
if ( typeof(jQuery) != 'undefined' ) { |
| 20 | 20 | adminbar.find('li.menupop').on('click.wp-mobile-hover', function(e) { |
| 21 | 21 | var el = $(this); |
| 22 | 22 | |
| 23 | | if ( !el.hasClass('hover') ) { |
| | 23 | if ( el.parent().is('#wp-admin-bar-root-default') && !el.hasClass('hover') ) { |
| 24 | 24 | e.preventDefault(); |
| 25 | 25 | adminbar.find('li.menupop.hover').removeClass('hover'); |
| 26 | 26 | el.addClass('hover'); |
| | 27 | } else if ( !el.hasClass('hover') ) { |
| | 28 | e.stopPropagation(); |
| | 29 | e.preventDefault(); |
| | 30 | el.addClass('hover'); |
| 27 | 31 | } |
| 28 | 32 | |
| 29 | 33 | if ( unbind ) { |