diff --git a/examples/dialog-modal/js/datepicker-dialog.js b/examples/dialog-modal/js/datepicker-dialog.js index 8470f3e5e1..1af029f254 100644 --- a/examples/dialog-modal/js/datepicker-dialog.js +++ b/examples/dialog-modal/js/datepicker-dialog.js @@ -243,7 +243,7 @@ DatePickerDialog.prototype.moveFocusToDay = function (day) { if ( d.getMonth() != this.focusDay.getMonth() || - d.getYear() != this.focusDay.getYear() + d.getFullYear() != this.focusDay.getFullYear() ) { this.updateGrid(); }