diff --git src/wp-admin/js/customize-controls.js src/wp-admin/js/customize-controls.js
index 1e5103a..a2ab9ae 100644
|
|
|
|
| 1497 | 1497 | * @param {Callback} args.completeCallback |
| 1498 | 1498 | */ |
| 1499 | 1499 | onChangeActive: function ( active, args ) { |
| | 1500 | if ( args.unchanged ) { |
| | 1501 | if ( args.completeCallback ) { |
| | 1502 | args.completeCallback(); |
| | 1503 | } |
| | 1504 | return; |
| | 1505 | } |
| | 1506 | |
| 1500 | 1507 | if ( ! $.contains( document, this.container ) ) { |
| 1501 | 1508 | // jQuery.fn.slideUp is not hiding an element if it is not in the DOM |
| 1502 | 1509 | this.container.toggle( active ); |