WordPress.org

Make WordPress Core

Changeset 21090


Ignore:
Timestamp:
06/20/12 01:46:05 (3 years ago)
Author:
azaozz
Message:

Admin menu: reset sub-menus position on mouseleave so they don't break when auto-expanded, props phill_brown SergeyBiryukov, fixes #19562

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/common.dev.js

    r21065 r21090  
    217217        }, 
    218218        out: function(){ 
    219             $(this).find('.wp-submenu').removeClass('sub-open'); 
     219            $(this).find('.wp-submenu').removeClass('sub-open').css('margin-top', ''); 
    220220        }, 
    221221        timeout: 200, 
Note: See TracChangeset for help on using the changeset viewer.