Skip to content

Commit

Permalink
Merge branch 'develop' into longDropDownMenuSpecificity
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de authored Apr 23, 2024
2 parents 8bb8a5d + 28e0212 commit 07309fd
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/definitions/modules/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,17 @@

destroy: function () {
module.verbose('Destroying previous calendar for', element);
$module.removeData(moduleNamespace);
$module.removeData([
metadata.date,
metadata.focusDate,
metadata.startDate,
metadata.endDate,
metadata.minDate,
metadata.maxDate,
metadata.mode,
metadata.monthOffset,
moduleNamespace,
]);
module.unbind.events();
module.disconnect.classObserver();
},
Expand Down

0 comments on commit 07309fd

Please sign in to comment.