Ticket #27993: 27993.2.diff
File 27993.2.diff, 667 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/js/customize-controls.js
589 589 return; 590 590 } 591 591 592 // Any controls not even registered on the previewed URL are not active either593 api.control.each( function ( control ) {594 if ( typeof data.activeControls[ control.id ] === 'undefined' ) {595 data.activeControls[ control.id ] = false;596 }597 } );598 599 592 $.each( data.activeControls, function ( id, active ) { 600 593 var control = api.control( id ); 601 594 if ( control ) {