Skip to content

Commit 439a9a1

Browse files
trentrichardson#799 - @CoryDuncan - "Now" button does not update calendar selected date
1 parent ec1d5e8 commit 439a9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery-ui-timepicker-addon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1554,12 +1554,12 @@
15541554
$.datepicker._gotoToday = function (id) {
15551555
var inst = this._getInst($(id)[0]),
15561556
$dp = inst.dpDiv;
1557-
this._base_gotoToday(id);
15581557
var tp_inst = this._get(inst, 'timepicker');
15591558
selectLocalTimezone(tp_inst);
15601559
var now = new Date();
15611560
this._setTime(inst, now);
15621561
this._setDate(inst, now);
1562+
this._base_gotoToday(id);
15631563
};
15641564

15651565
/*

0 commit comments

Comments
 (0)