diff --git src/wp-admin/js/customize-controls.js src/wp-admin/js/customize-controls.js
index 1e5103a..6b9697b 100644
|
|
|
210 | 210 | container.active.bind( function ( active ) { |
211 | 211 | var args = container.activeArgumentsQueue.shift(); |
212 | 212 | args = $.extend( {}, container.defaultActiveArguments, args ); |
213 | | active = ( active && container.isContextuallyActive() ); |
214 | 213 | container.onChangeActive( active, args ); |
215 | 214 | }); |
216 | 215 | container.expanded.bind( function ( expanded ) { |
… |
… |
|
284 | 283 | * @param {Object} args.duration |
285 | 284 | * @param {Object} args.completeCallback |
286 | 285 | */ |
287 | | onChangeActive: function ( active, args ) { |
| 286 | onChangeActive: function( active, args ) { |
288 | 287 | var duration, construct = this; |
| 288 | active = ( active && construct.isContextuallyActive() ); |
289 | 289 | duration = ( 'resolved' === api.previewer.deferred.active.state() ? args.duration : 0 ); |
290 | 290 | if ( ! $.contains( document, construct.container[0] ) ) { |
291 | 291 | // jQuery.fn.slideUp is not hiding an element if it is not in the DOM |