diff options
-rw-r--r-- | ui/datepicker.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/datepicker.js b/ui/datepicker.js index d3fe3dd1f..34ffc578e 100644 --- a/ui/datepicker.js +++ b/ui/datepicker.js @@ -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. |