WordPress.org

Make WordPress Core

Changeset 34834


Ignore:
Timestamp:
10/05/2015 08:45:57 PM (4 years ago)
Author:
westonruter
Message:

Customizer: Reset horizontal scroll position when finished dragging a nav menu item.

Props karinedo, austinginder, adamsilverstein, tyxla.
Fixes #33367.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-nav-menus.js

    r34788 r34834  
    18721872                    control.isSorting = false;
    18731873
     1874                    // Reset horizontal scroll position when done dragging.
     1875                    control.$sectionContent.scrollLeft( 0 );
     1876
    18741877                    _.each( menuItemContainerIds, function( menuItemContainerId ) {
    18751878                        var menuItemId, menuItemControl, matches;
Note: See TracChangeset for help on using the changeset viewer.