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

DOMException: button# is not a valid selector #1151

Closed
peaceshi opened this issue Feb 22, 2020 · 1 comment · Fixed by #1170
Closed

DOMException: button# is not a valid selector #1151

peaceshi opened this issue Feb 22, 2020 · 1 comment · Fixed by #1170
Labels
C-panic Category: A bug that causes a panic or crash

Comments

@peaceshi
Copy link

themePopup.querySelector("button#" + document.body.className).focus();

just need remove #.

@steveklabnik steveklabnik added the C-panic Category: A bug that causes a panic or crash label Mar 15, 2020
@steveklabnik
Copy link
Member

(Marking as T-panic because the dom threw an exception. not technically a panic but close enough!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-panic Category: A bug that causes a panic or crash
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants