Changeset 33941
- Timestamp:
- 09/07/2015 06:13:17 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3/src/wp-admin/js/customize-controls.js
r33940 r33941 287 287 * @param {Object} args.completeCallback 288 288 */ 289 onChangeActive: function 289 onChangeActive: function( active, args ) { 290 290 var duration, construct = this; 291 if ( args.unchanged ) { 292 if ( args.completeCallback ) { 293 args.completeCallback(); 294 } 295 return; 296 } 297 291 298 duration = ( 'resolved' === api.previewer.deferred.active.state() ? args.duration : 0 ); 292 299 if ( ! $.contains( document, construct.container[0] ) ) { … … 1500 1507 */ 1501 1508 onChangeActive: function ( active, args ) { 1509 if ( args.unchanged ) { 1510 if ( args.completeCallback ) { 1511 args.completeCallback(); 1512 } 1513 return; 1514 } 1515 1502 1516 if ( ! $.contains( document, this.container ) ) { 1503 1517 // jQuery.fn.slideUp is not hiding an element if it is not in the DOM
Note: See TracChangeset
for help on using the changeset viewer.