mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Fixed 3165 Invalid comparison in _changeDatepicker
This commit is contained in:
@@ -398,7 +398,8 @@ $.extend(Datepicker.prototype, {
|
||||
settings = {};
|
||||
settings[name] = value;
|
||||
}
|
||||
if (inst = $.data(target, PROP_NAME)) {
|
||||
var inst = $.data(target, PROP_NAME);
|
||||
if (inst) {
|
||||
if (this._curInst == inst) {
|
||||
this._hideDatepicker(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user