mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Customizer: Reset horizontal scroll position when finished dragging a nav menu item.
Props karinedo, austinginder, adamsilverstein, tyxla. Fixes #33367. Built from https://develop.svn.wordpress.org/trunk@34834 git-svn-id: http://core.svn.wordpress.org/trunk@34799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
60431ae239
commit
31a394fcf7
@ -1871,6 +1871,9 @@
|
||||
|
||||
control.isSorting = false;
|
||||
|
||||
// Reset horizontal scroll position when done dragging.
|
||||
control.$sectionContent.scrollLeft( 0 );
|
||||
|
||||
_.each( menuItemContainerIds, function( menuItemContainerId ) {
|
||||
var menuItemId, menuItemControl, matches;
|
||||
matches = menuItemContainerId.match( /^customize-control-nav_menu_item-(-?\d+)$/, '' );
|
||||
|
4
wp-admin/js/customize-nav-menus.min.js
vendored
4
wp-admin/js/customize-nav-menus.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34833';
|
||||
$wp_version = '4.4-alpha-34834';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user