WordPress.org

Make WordPress Core

Changeset 21065


Ignore:
Timestamp:
06/12/12 16:36:32 (3 years ago)
Author:
koopersmith
Message:

Prevent hoverIntent from shifting open, expanded admin menus if the entire submenu is not visible. props SergeyBiryukov, fixes #20857.

File:
1 edited

Legend:

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

    r21012 r21065  
    189189        over: function(e){ 
    190190            var b, h, o, f, m = $(this).find('.wp-submenu'), menutop, wintop, maxtop; 
     191 
     192            if ( m.is(':visible') ) 
     193                return; 
    191194 
    192195            menutop = $(this).offset().top; 
Note: See TracChangeset for help on using the changeset viewer.