mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
DatePicker: datepicker_instActive released on instance destroy
Fixes #10668 Closes gh-1362
This commit is contained in:
parent
c0df7b0138
commit
e5e3ca4240
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user