Skip to content
Permalink
Browse files

Datepicker: Changed a comment that causes problems with YUI Compresso…

…r. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
  • Loading branch information
scottgonzalez committed Mar 18, 2011
1 parent 5a112d4 commit 6d0164571647e169c9674a2853f3223caf188e7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.datepicker.js
@@ -1093,7 +1093,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;
},

0 comments on commit 6d01645

Please sign in to comment.
You can’t perform that action at this time.