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

[joss] fix incomplete attribute selectors in keyboard shortcuts #27

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

sneakers-the-rat
Copy link

Part of: openjournals/joss-reviews#6336

The keyboard shortcuts currently use incomplete attribute selectors, eg.

querySelector('[title="Select"')

These work, but they shouldn't since i think all levels of the CSS spec say browsers should ignore invalid selectors.

In any case, my linter is yelling at these being incomplete, so here's a function-neutral PR to make it be quiet.

@katjaq
Copy link
Member

katjaq commented Mar 5, 2024

Thank you @sneakers-the-rat for pointing out and fixing <3 the issue! 🚀

@katjaq katjaq merged commit df6504b into neuroanatomy:master Mar 5, 2024
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