Admin menu: reset sub-menus position on mouseleave so they don't break when auto-expanded, props phill_brown SergeyBiryukov, fixes #19562

git-svn-id: https://develop.svn.wordpress.org/trunk@21090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2012-06-20 01:46:05 +00:00
parent fc24fec6e0
commit ed33e36b0c

View File

@ -216,7 +216,7 @@ $(document).ready( function() {
m.addClass('sub-open');
},
out: function(){
$(this).find('.wp-submenu').removeClass('sub-open');
$(this).find('.wp-submenu').removeClass('sub-open').css('margin-top', '');
},
timeout: 200,
sensitivity: 7,