Hi Dan,
We’re seeing a lot of Uncaught TypeError: Cannot set properties of null (setting 'innerHTML') errors in our console logs. While the users are not impacted, we’d love our logs to be clean.
It appears to happen in the code where you call _hideLinkpoints async on a timer (setTimeout), and we have disposed the DayPilot instance already.
This is the exact code triggering the issue:
linktools._hideLinkpoints = function () {
calendar.divLinkpoints.innerHTML = '';
calendar.elements.linkpoints = [];
};
Most likely, the timers are not disposed when disposing the DayPilot instance itself?
Cheers
Leo