mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
This commit is contained in:
parent
5a112d4e03
commit
6d01645716
2
ui/jquery.ui.datepicker.js
vendored
2
ui/jquery.ui.datepicker.js
vendored
@ -1093,7 +1093,7 @@ $.extend(Datepicker.prototype, {
|
|||||||
}
|
}
|
||||||
var date = this._daylightSavingAdjust(new Date(year, month - 1, day));
|
var date = this._daylightSavingAdjust(new Date(year, month - 1, day));
|
||||||
if (date.getFullYear() != year || date.getMonth() + 1 != month || date.getDate() != day)
|
if (date.getFullYear() != year || date.getMonth() + 1 != month || date.getDate() != day)
|
||||||
throw 'Invalid date'; // E.g. 31/02/*
|
throw 'Invalid date'; // E.g. 31/02/00
|
||||||
return date;
|
return date;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user