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

OpenAI detector: use event target #43

Merged
merged 2 commits into from Jan 21, 2023

Conversation

makyen
Copy link
Contributor

@makyen makyen commented Jan 21, 2023

This switches from using Event.originalTarget, which is Firefox only, to Event.target, which is the normal and compatible way to access the target element and should have been used to begin with.

This fixes one of two issues which were identified by @double-beep in comments on PR #39. It should be, by far, the issue that impacts more people. I'll submit a PR for the switch to using the SE API in a while, as it's a bit more involved.

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