WordPress.org

Make WordPress Core

Ticket #33428: 33428.diff

File 33428.diff, 559 bytes (added by nikeo, 5 years ago)
  • wp-admin/js/customize-controls.js

     
    14971497                 * @param {Callback} args.completeCallback
    14981498                 */
    14991499                onChangeActive: function ( active, args ) {
     1500      if ( args.unchanged )
     1501        return;
     1502
    15001503                        if ( ! $.contains( document, this.container ) ) {
    15011504                                // jQuery.fn.slideUp is not hiding an element if it is not in the DOM
    15021505                                this.container.toggle( active );