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