diff options
author | jigar gala <jigar.gala140291@gmail.com> | 2018-02-01 01:15:58 +0530 |
---|---|---|
committer | Felix Nagel <fnagel@users.noreply.github.com> | 2020-03-23 21:49:23 +0100 |
commit | 817ce38555f07981f929fb4b1229fc42574cf85c (patch) | |
tree | e65926d4e36371bd577af4b1de166c0fcb6e3cc2 /ui/widgets/datepicker.js | |
parent | 0c860b0d92f9959f6747f8c02e9671eb2fc561aa (diff) | |
download | jquery-ui-817ce38555f07981f929fb4b1229fc42574cf85c.tar.gz jquery-ui-817ce38555f07981f929fb4b1229fc42574cf85c.zip |
Datepicker: Fixed current instance memory leak and added unit testcases
Diffstat (limited to 'ui/widgets/datepicker.js')
-rw-r--r-- | ui/widgets/datepicker.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/widgets/datepicker.js b/ui/widgets/datepicker.js index 5e6321e1d..441170c97 100644 --- a/ui/widgets/datepicker.js +++ b/ui/widgets/datepicker.js @@ -408,6 +408,7 @@ $.extend( Datepicker.prototype, { if ( datepicker_instActive === inst ) { datepicker_instActive = null; + this._curInst = null; } }, |