Skip to content

fix: retry adding button if the dom wasn't ready #1

New issue

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

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

Already on GitHub? # to your account

Merged
merged 2 commits into from
Apr 14, 2023

Conversation

patak-dev
Copy link
Collaborator

@patak-dev patak-dev commented Apr 14, 2023

Description

Retry to make sure the dom is ready.

Edit: It wasn't the matcher

Interesting that the matcher doesn't work for links to comments: vitejs/vite#12851 (comment)

Added another match rule and it works for me. Maybe there is a more general matcher?

@patak-dev
Copy link
Collaborator Author

Something else is going on, it works only sometimes, closing this PR

@patak-dev patak-dev closed this Apr 14, 2023
@patak-dev patak-dev reopened this Apr 14, 2023
@patak-dev patak-dev changed the title fix: also match url with anchors fix: retry adding button if the dom wasn't ready Apr 14, 2023
@antfu antfu merged commit 3308c82 into main Apr 14, 2023
@antfu antfu deleted the fix/also-match-url-with-anchors branch April 14, 2023 14:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants