mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
(cherry picked from commit 6d01645716
)
This commit is contained in:
parent
218100e704
commit
2b4a902e00
2
ui/jquery.ui.datepicker.js
vendored
2
ui/jquery.ui.datepicker.js
vendored
@ -1089,7 +1089,7 @@ $.extend(Datepicker.prototype, {
|
||||
}
|
||||
var date = this._daylightSavingAdjust(new Date(year, month - 1, 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;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user