aboutsummaryrefslogtreecommitdiffstats
path: root/ui/date.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2015-10-08 15:06:55 +0200
committerFelix Nagel <info@felixnagel.com>2015-10-08 15:06:55 +0200
commit2fe43bbbe20ba59dbbbef1effd9f59ac64cb15a7 (patch)
tree223ec5d743a1c0fbfc18127b7a6bc75c435c72be /ui/date.js
parent7e8b7234b214f9ee363f4f85ad4a24c4a269baba (diff)
downloadjquery-ui-2fe43bbbe20ba59dbbbef1effd9f59ac64cb15a7.tar.gz
jquery-ui-2fe43bbbe20ba59dbbbef1effd9f59ac64cb15a7.zip
Calendar: Fix jscs errors after merging master
Diffstat (limited to 'ui/date.js')
-rw-r--r--ui/date.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/date.js b/ui/date.js
index ba9203873..2d94f1083 100644
--- a/ui/date.js
+++ b/ui/date.js
@@ -59,6 +59,7 @@ $.extend( $.ui.date.prototype, {
setDay: function( day ) {
var date = this.dateObject;
+
// FIXME: Why not to use .setDate?
this.dateObject = new Date( date.getFullYear(), date.getMonth(), day, date.getHours(),
date.getMinutes(), date.getSeconds() );