-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
ui/nvui cleanup #16560
base: master
Are you sure you want to change the base?
ui/nvui cleanup #16560
Conversation
Strike down the tower of babel
const $firstPiece = $('.board-wrapper [file="' + $first[0] + '"][rank="' + $first[1] + '"]'); | ||
$moveBox.val($moveBox.val() + $pos); | ||
const first = $moveBox.val(); | ||
const $firstPiece = $(squareSelector(first[1], first[0])); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does it care now after a refactor but not in prod? 🙃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe the alert was previously dismissed, but your change triggered a rescan would be my guess.
great stuff |
(also extends a little bit to ui/chess)