Skip to content

Commit

Permalink
Convert indentation to tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Dec 21, 2016
1 parent ddaab15 commit 988708b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/field-dependencies/field-dependencies.js
Expand Up @@ -55,21 +55,21 @@ jQuery( document ).ready( function() {

wp.customize( targetControlID, function( setting ) {

var setupControl = function( control ) {
var setupControl = function( control ) {

setting.bind( function() {
control.active.set( function() {
setting.bind( function() {
control.active.set( function() {
var show = true;
_.each( args, function( dependency ) {
if ( show ) {
show = kirkiCompareValues( dependency.value, setting.get(), dependency.operator, [targetControlID, dependency.setting] );
}
} );
return show;
} );
} );
} );
} );

};
};
_.each( args, function( dependency ) {
wp.customize.control( dependency.setting, setupControl );
} );
Expand Down

0 comments on commit 988708b

Please sign in to comment.