8000 Destroy FullCalendar properly by laander · Pull Request #186 · timekit-io/booking-js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Destroy FullCalendar properly #186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2018
Merged

Conversation

laander
Copy link
Contributor
@laander laander commented Aug 30, 2018

Motivation

When the widget is destroyed, make sure to also destroy the fullCalendar instance properly (which removes event listeners).

This might fix some async bugs with FC stuff being called after the widget is already "destroyed".

Tests

Made a simple test.

Who should review it

@Trolzie

@vistik
Copy link
vistik commented Aug 31, 2018

🎱

@laander laander merged commit 3341b2a into master Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0