From 5b01516f932dfcfaa692856862ab8d781ff1081b Mon Sep 17 00:00:00 2001 From: Ger Hobbelt Date: Sun, 21 Apr 2013 08:01:22 +0200 Subject: [PATCH] applying fix from @clubnite for issue #5 - see also https://github.com/kbwood/datepick/issues/5 --- jquery.datepick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.datepick.js b/jquery.datepick.js index 5f9a1db..c253cef 100644 --- a/jquery.datepick.js +++ b/jquery.datepick.js @@ -1521,8 +1521,8 @@ $.extend(Datepicker.prototype, { inst.drawDate = this._checkMinMax(plugin.newDate(inst.selectedDates[0] || inst.get('defaultDate') || plugin.today()), inst); if (!setOpt) { - this._update(target); this._updateInput(target, keyUp); + this._update(target); } } },