Skip to content

Commit 24fc8d6

Browse files
committed
Merge pull request jquery#463 from jason-oster/master
Merge jquery#463.
2 parents fdc332e + c36b43d commit 24fc8d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/jquery.ui.datepicker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,9 +799,10 @@ $.extend(Datepicker.prototype, {
799799
if (this._datepickerShowing) {
800800
var showAnim = this._get(inst, 'showAnim');
801801
var duration = this._get(inst, 'duration');
802+
var self = this;
802803
var postProcess = function() {
803804
$.datepicker._tidyDialog(inst);
804-
this._curInst = null;
805+
self._curInst = null;
805806
};
806807

807808
// DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed

0 commit comments

Comments
 (0)