Customizer: Update JS variable to reference renamed data attribute for available nav menu object.

Fixes regression for a change that was missed in [33366].

Props valendesigns.
Fixes #32708.

Built from https://develop.svn.wordpress.org/trunk@33392


git-svn-id: http://core.svn.wordpress.org/trunk@33360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2015-07-23 06:02:24 +00:00
parent 8d4a693b13
commit 3a97d2a7de
3 changed files with 4 additions and 4 deletions

View File

@ -156,13 +156,13 @@
visibleHeight = self.$el.find( '.accordion-section.open' ).height();
if ( ! self.loading && $( this ).scrollTop() > 3 / 4 * totalHeight - visibleHeight ) {
var type = $( this ).data( 'type' ),
obj_type = $( this ).data( 'obj_type' );
object = $( this ).data( 'object' );
if ( 'search' === type ) {
if ( self.searchTerm ) {
self.doSearch( self.pages.search );
}
} else {
self.loadItems( type, obj_type );
self.loadItems( type, object );
}
}
});

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-beta4-33391';
$wp_version = '4.3-beta4-33392';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.