Skip to content
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

export modbarExists promise #617

Merged
merged 2 commits into from
Sep 8, 2022
Merged

Conversation

eritbh
Copy link
Member

@eritbh eritbh commented Sep 8, 2022

Fixes a race condition where the personal notes module would try to add its button to the modbar before the modbar existed. The modbar module now exports a promise which resolves when the modbar is added to the page, and the personal notes module waits for this promise to resolve before adding its button.

@creesch creesch merged commit a491242 into master Sep 8, 2022
@creesch creesch deleted the fix-personalnotes-button-race branch September 8, 2022 22:35
@eritbh eritbh added this to the v6.1.0 milestone Sep 11, 2022
eritbh added a commit that referenced this pull request Sep 5, 2024
* export modbarExists promise

* wait for modbar before adding personalnotes button
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants