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: isBlocked throws on invalid element #1032

Merged
merged 1 commit into from
Jan 10, 2023
Merged

Conversation

dbseel
Copy link
Contributor

@dbseel dbseel commented Oct 21, 2022

If node is not an HTML element, matches throws an error. Use el instead.

@dbseel
Copy link
Contributor Author

dbseel commented Oct 31, 2022

@Mark-Fenng Are you able to review and approve this? Would like to move to using the latest rrweb but this bug is blocking us.

@Juice10 Juice10 self-requested a review November 4, 2022 10:46
@Juice10 Juice10 self-assigned this Nov 4, 2022
Copy link
Member

@YunFeng0817 YunFeng0817 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review. It's a good catch!

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.

3 participants