Browse Source

Simplifies test

pull/3053/head
Alberto Maturano 9 years ago
parent
commit
97d4300da2
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/behaviors/form.js

2
src/definitions/behaviors/form.js

@ -1196,7 +1196,7 @@ $.fn.form.settings = {
max,
parts
;
if(range === undefined || range === false || range === '' || range === '..') {
if( !range || ['', '..'].indexOf(range) !== -1) {
// do nothing
}
else if(range.indexOf('..') == -1) {

Loading…
Cancel
Save