discourse/plugins/discourse-calendar/assets
Joffrey JAFFEUX fc3ba98d03
DEV: correctly teardown page changed event (#34383)
We were not unsubscribing from this event, causing us to add more and
more listeners, after few pages visits you would end up with as many
subscriptions and as many ajax calls, eventually causing 429s.

A further improvement of this code could be to cache the events list,
there not much value in refetching each time given the query doesnt
change for each page.
2025-08-18 13:34:54 +02:00
..
javascripts/discourse DEV: correctly teardown page changed event (#34383) 2025-08-18 13:34:54 +02:00
stylesheets