We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41016e commit 5ef2c23Copy full SHA for 5ef2c23
src/definitions/modules/calendar.js
@@ -972,7 +972,7 @@ $.fn.calendar = function(parameters) {
972
973
helper: {
974
isDisabled: function(date, mode) {
975
- return (mode === 'day' || mode === 'month' || mode === 'year') && ((settings.disabledDaysOfWeek.indexOf(date.getDay()) !== -1) || settings.disabledDates.some(function(d){
+ return (mode === 'day' || mode === 'month' || mode === 'year') && ((mode === 'day' && settings.disabledDaysOfWeek.indexOf(date.getDay()) !== -1) || settings.disabledDates.some(function(d){
976
if(typeof d === 'string') {
977
d = module.helper.sanitiseDate(d);
978
}
0 commit comments