Skip to content

Commit

Permalink
refactor reset script & re-enable module.
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed May 27, 2017
1 parent ec07952 commit f66661c
Show file tree
Hide file tree
Showing 6 changed files with 392 additions and 436 deletions.
2 changes: 1 addition & 1 deletion controls/preset/preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ wp.customize.controlConstructor['kirki-preset'] = wp.customize.Control.extend({
// Each choice has an array of settings defined in it.
// We'll have to loop through them all and apply the changes needed to them.
jQuery.each( value.settings, function( presetSetting, presetSettingValue ) {
kirkiSetSettingValue( presetSetting, presetSettingValue );
kirkiSetSettingValue.set( presetSetting, presetSettingValue );
});

}
Expand Down
Loading

0 comments on commit f66661c

Please sign in to comment.