Changeset 33754
- Timestamp:
- 08/26/2015 07:25:20 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/customize-controls.js
r33610 r33754 285 285 * @param {Object} args.completeCallback 286 286 */ 287 onChangeActive: function 287 onChangeActive: function( active, args ) { 288 288 var duration, construct = this; 289 if ( args.unchanged ) { 290 if ( args.completeCallback ) { 291 args.completeCallback(); 292 } 293 return; 294 } 295 289 296 duration = ( 'resolved' === api.previewer.deferred.active.state() ? args.duration : 0 ); 290 297 if ( ! $.contains( document, construct.container[0] ) ) { … … 1498 1505 */ 1499 1506 onChangeActive: function ( active, args ) { 1507 if ( args.unchanged ) { 1508 if ( args.completeCallback ) { 1509 args.completeCallback(); 1510 } 1511 return; 1512 } 1513 1500 1514 if ( ! $.contains( document, this.container ) ) { 1501 1515 // 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.