Skip to content

Commit

Permalink
fixes #1665
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Nov 22, 2017
1 parent 1607cc3 commit 49ace5e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
5 changes: 5 additions & 0 deletions controls/js/dist/script-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,11 @@ var kirki = {
}
}

if ( 'undefined' !== typeof wp.customize.control( setting ) ) {
wp.customize.control( setting ).setting.set( value );
return;
}

parts = setting.split( '[' ),

// Find the setting we're using in the control using the customizer API.
Expand Down
2 changes: 1 addition & 1 deletion controls/js/dist/script-legacy.min.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions controls/js/dist/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,11 @@ var kirki = {
}
}

if ( 'undefined' !== typeof wp.customize.control( setting ) ) {
wp.customize.control( setting ).setting.set( value );
return;
}

parts = setting.split( '[' ),

// Find the setting we're using in the control using the customizer API.
Expand Down
2 changes: 1 addition & 1 deletion controls/js/dist/script.min.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions controls/js/src/kirki.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,11 @@ var kirki = {
}
}

if ( 'undefined' !== typeof wp.customize.control( setting ) ) {
wp.customize.control( setting ).setting.set( value );
return;
}

parts = setting.split( '[' ),

// Find the setting we're using in the control using the customizer API.
Expand Down

0 comments on commit 49ace5e

Please sign in to comment.