WordPress.org

Make WordPress Core

Changeset 34835


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

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

Cherry-picks [34834].

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

Location:
branches/4.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.3

  • branches/4.3/src/wp-admin/js/customize-nav-menus.js

    r34789 r34835  
    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.