Skip to content

Commit 4ade134

Browse files
committed
Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state.
1 parent e0616aa commit 4ade134

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ui/jquery.ui.datepicker.js

-2
Original file line numberDiff line numberDiff line change
@@ -801,10 +801,8 @@ $.extend(Datepicker.prototype, {
801801
if (this._datepickerShowing) {
802802
var showAnim = this._get(inst, 'showAnim');
803803
var duration = this._get(inst, 'duration');
804-
var that = this;
805804
var postProcess = function() {
806805
$.datepicker._tidyDialog(inst);
807-
that._curInst = null;
808806
};
809807

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

0 commit comments

Comments
 (0)