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

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

Merged
merged 2 commits into from Apr 14, 2023

Conversation

patak-dev
Copy link
Sponsor 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
Sponsor 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
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.

None yet

2 participants