mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
DatePicker: datepicker_instActive released on instance destroy
Fixes #10668 Closes gh-1362
This commit is contained in:
@@ -389,6 +389,10 @@ $.extend(Datepicker.prototype, {
|
||||
} else if (nodeName === "div" || nodeName === "span") {
|
||||
$target.removeClass(this.markerClassName).empty();
|
||||
}
|
||||
|
||||
if ( datepicker_instActive === inst ) {
|
||||
datepicker_instActive = null;
|
||||
}
|
||||
},
|
||||
|
||||
/* Enable the date picker to a jQuery selection.
|
||||
|
||||
Reference in New Issue
Block a user