mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Fixed 3165 Invalid comparison in _changeDatepicker
This commit is contained in:
parent
edd4ab0ccd
commit
23d3469355
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user