default value for combodate.maxYear

Set default value  for combodate.maxYear to current year
This commit is contained in:
AleksandrChernyavenko 2016-03-01 11:48:55 +02:00
parent 565f730945
commit 85fa502f2c

@ -473,7 +473,7 @@
//initial value, can be `new Date()`
value: null,
minYear: 1970,
maxYear: 2015,
maxYear: (new Date().getFullYear()),
yearDescending: true,
minuteStep: 5,
secondStep: 1,
@ -483,4 +483,4 @@
smartDays: false // whether days in combo depend on selected month: 31, 30, 28
};
}(window.jQuery));
}(window.jQuery));