diff options
author | Keith Wood <kbwood.au@gmail.com> | 2008-08-08 10:38:35 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2008-08-08 10:38:35 +0000 |
commit | 23d34693554718ddac83661fdf1c5b6fb4886cc5 (patch) | |
tree | 48a56bd0503e5a0ebd365d3d46f81b6764a792cc | |
parent | edd4ab0ccd5c1b5264dbf901ea145aaf0142a7fa (diff) | |
download | jquery-ui-23d34693554718ddac83661fdf1c5b6fb4886cc5.tar.gz jquery-ui-23d34693554718ddac83661fdf1c5b6fb4886cc5.zip |
Fixed 3165 Invalid comparison in _changeDatepicker
-rw-r--r-- | ui/ui.datepicker.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index 4a1892698..da8f89cd2 100644 --- a/ui/ui.datepicker.js +++ b/ui/ui.datepicker.js @@ -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); } |