Skip to content

Commit

Permalink
#6043 #5713 code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Jan 29, 2018
1 parent f36e815 commit 8b21e93
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/definitions/behaviors/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,11 @@ $.fn.form = function(parameters) {
}
else {
if(isRadio) {
if(values[name] === undefined || values[name] == false ) {
values[name] = (isChecked) ? value || true : false;
if(values[name] === undefined || values[name] == false) {
values[name] = (isChecked)
? value || true
: false
;
}
}
else if(isCheckbox) {
Expand Down

0 comments on commit 8b21e93

Please sign in to comment.