Browse Source

#6043 #5713 code formatting

pull/5603/merge
Jack 6 years ago
parent
commit
8b21e930fc
1 changed files with 5 additions and 2 deletions
  1. 7
      src/definitions/behaviors/form.js

7
src/definitions/behaviors/form.js

@ -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) {

Loading…
Cancel
Save