Don't move current open submenus, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -207,6 +207,9 @@ $(document).ready( function() {
|
||||
over: function(e){
|
||||
var b, h, o, f, m = $(this).find('.wp-submenu');
|
||||
|
||||
if ( !$(document.body).hasClass('folded') && $(this).hasClass('wp-menu-open') )
|
||||
return;
|
||||
|
||||
b = $(this).offset().top + m.height() + 1; // Bottom offset of the menu
|
||||
h = $('#wpwrap').height(); // Height of the entire page
|
||||
o = 60 + b - h;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user