Skip to content
Browse files

Cleanup per jslint

  • Loading branch information...
1 parent deeb34f commit cf2278fc93d52f73e259772001da45ff0f2b6a43 Yuri Gadow committed Feb 14, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 vendor/assets/javascripts/backbone_datalink.js
View
6 vendor/assets/javascripts/backbone_datalink.js
@@ -38,7 +38,11 @@
el.attr("checked", "checked");
}
} else {
- (modelValue === null) ? el.val("") : el.val(modelValue);
+ if (modelValue === null) {
+ el.val("");
+ } else {
+ el.val(modelValue);
+ }
}
return el;

0 comments on commit cf2278f

Please sign in to comment.
Something went wrong with that request. Please try again.