diff --git wp-includes/css/admin-bar.css wp-includes/css/admin-bar.css
index 195f8ba..d1ae822 100644
|
|
|
|
| 1014 | 1014 | } |
| 1015 | 1015 | |
| 1016 | 1016 | #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { |
| 1017 | | display: inline-block; |
| 1018 | 1017 | margin: 0; |
| 1019 | 1018 | width: 100%; |
| 1020 | 1019 | top: auto; |
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 ) { |