mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Immediately close a flyout when opening another one. Prevents brief occurrence of two flyouts at once. Props SergeyBiryukov. fixes #19575 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@19647 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -209,6 +209,7 @@ $(document).ready( function() {
|
||||
else if ( m.css('marginTop') )
|
||||
m.css({'marginTop':''});
|
||||
|
||||
menu.find('.wp-submenu').removeClass('sub-open');
|
||||
m.addClass('sub-open');
|
||||
},
|
||||
out: function(){
|
||||
|
||||
Reference in New Issue
Block a user