Fix admin menu hover. Props koopersmith. fixes #20857

git-svn-id: http://core.svn.wordpress.org/trunk@21012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2012-06-06 21:15:43 +00:00
parent a17441a7e3
commit 44dc454f53
1 changed files with 0 additions and 3 deletions

View File

@ -189,9 +189,6 @@ $(document).ready( function() {
over: function(e){ over: function(e){
var b, h, o, f, m = $(this).find('.wp-submenu'), menutop, wintop, maxtop; var b, h, o, f, m = $(this).find('.wp-submenu'), menutop, wintop, maxtop;
if ( !$(document.body).hasClass('folded') && $(this).hasClass('wp-menu-open') )
return;
menutop = $(this).offset().top; menutop = $(this).offset().top;
wintop = $(window).scrollTop(); wintop = $(window).scrollTop();
maxtop = menutop - wintop - 30; // max = make the top of the sub almost touch admin bar maxtop = menutop - wintop - 30; // max = make the top of the sub almost touch admin bar