From 44dc454f536db062c639614ade18e9dce2304033 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 6 Jun 2012 21:15:43 +0000 Subject: [PATCH] Fix admin menu hover. Props koopersmith. fixes #20857 git-svn-id: http://core.svn.wordpress.org/trunk@21012 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/common.dev.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/wp-admin/js/common.dev.js b/wp-admin/js/common.dev.js index eb66c500a6..6c260b3381 100644 --- a/wp-admin/js/common.dev.js +++ b/wp-admin/js/common.dev.js @@ -189,9 +189,6 @@ $(document).ready( function() { over: function(e){ 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; wintop = $(window).scrollTop(); maxtop = menutop - wintop - 30; // max = make the top of the sub almost touch admin bar