parent
d0258bb184
commit
66cbc16e73
|
@ -1004,9 +1004,7 @@
|
|||
var isMatch = allowDays.some(function (day) {
|
||||
return new Date(day + ' 00:00:00').getTime() == timestrap.now;
|
||||
})
|
||||
if (isMatch) {
|
||||
isOut = !isMatch;
|
||||
}
|
||||
isOut = !isMatch || isOut;
|
||||
}
|
||||
elem && elem[isOut ? 'addClass' : 'removeClass'](DISABLED);
|
||||
return isOut;
|
||||
|
|
Loading…
Reference in New Issue