Message info
 
To:wp-svn@lists.automattic.com From:m@wordpress.org Subject:[wp-svn] [21012] trunk/wp-admin/js/common.dev.js: Fix admin menu hover. Date:Wed, 6 Jun 2012 21:15:43 +0000 (UTC)
 

Revision
21012
Author
ryan
Date
2012-06-06 21:15:43 +0000 (Wed, 06 Jun 2012)

Log Message

Fix admin menu hover. Props koopersmith. fixes #20857

Modified Paths

Diff

Modified: trunk/wp-admin/js/common.dev.js (21011 => 21012)


--- trunk/wp-admin/js/common.dev.js	2012-06-06 20:58:20 UTC (rev 21011)
+++ trunk/wp-admin/js/common.dev.js	2012-06-06 21:15:43 UTC (rev 21012)
@@ -189,9 +189,6 @@
 		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