We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19d80e commit 5e4f1b8Copy full SHA for 5e4f1b8
ui/widgets/datepicker.js
@@ -423,7 +423,6 @@ $.extend( Datepicker.prototype, {
423
424
nodeName = target.nodeName.toLowerCase();
425
$.removeData( target, "datepicker" );
426
- $.datepicker._hideDatepicker();
427
if ( nodeName === "input" ) {
428
inst.append.remove();
429
inst.trigger.remove();
@@ -436,9 +435,11 @@ $.extend( Datepicker.prototype, {
436
435
$target.removeClass( this.markerClassName ).empty();
437
}
438
+ inst.dpDiv.remove();
439
if ( datepicker_instActive === inst ) {
440
datepicker_instActive = null;
441
this._curInst = null;
442
+ this.dpDiv = null;
443
444
},
445
0 commit comments