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:
azaozz
2011-10-11 17:59:51 +00:00
parent 96c3fa3274
commit 3804ef7519
3 changed files with 5 additions and 2 deletions

View File

@@ -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