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: used event.composedPath instead of the deprecated event.path #240

Merged
merged 1 commit into from
Jul 2, 2022
Merged

Conversation

bassforce86
Copy link

Hey Chris,

As per https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath

event.path is being removed in Chrome v105+ (current chrome dev channel at time of PR)

This is the patch for the replacement as currently the settings menu will not open =)

@bassforce86
Copy link
Author

Sorry, should've made an issue first, as a dev i figured i'd just fix it... I should know better, sorry!

@ChristopherKlay
Copy link
Owner

Will push a hotfix including this in a minute, also fixed it for the notification system using the same path attribute. Thank you for bringing this up!

Sorry, should've made an issue first, as a dev i figured i'd just fix it... I should know better, sorry!

Next time. It's fine (:

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