Skip to content

Use previousElementSibling instead of querySelector to get canvas node reference#24

Open
habovh wants to merge 1 commit intorobiveli:masterfrom
habovh:master
Open

Use previousElementSibling instead of querySelector to get canvas node reference#24
habovh wants to merge 1 commit intorobiveli:masterfrom
habovh:master

Conversation

@habovh
Copy link
Copy Markdown

@habovh habovh commented Feb 13, 2021

This prevents crashes when previous elements of the page share the same
class as the defined canvasClass.

Fixes #23

…e reference

This prevents crashes when previous elements of the page share the same
class as the defined canvasClass.

Fixes robiveli#23
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.

Multiple canvasClass on the page breaks captcha

1 participant