Skip to content

Commit

Permalink
Fix integer validation
Browse files Browse the repository at this point in the history
  • Loading branch information
maturanomx authored and jlukic committed Nov 1, 2015
1 parent 6bce4fc commit 19ec0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/behaviors/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ $.fn.form.settings = {
max,
parts
;
if(range === undefined || range === '' || range === '..') {
if(range === undefined || range === false || range === '' || range === '..') {
// do nothing
}
else if(range.indexOf('..') == -1) {
Expand Down

0 comments on commit 19ec0c8

Please sign in to comment.