-
Notifications
You must be signed in to change notification settings - Fork 10
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
Attempting to call onMovePiece callback even when it isn't defined #9
Comments
jniemann66
added a commit
that referenced
this issue
Apr 23, 2017
fixed in f4e480c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In chessdiagram.js, the introduction 'allowMoves' was a good idea.
However, there should be an additional safeguard against the case where allowMoves is true, but onMovePiece is undefined.
I propose the following change to Chessdiagram.js, line 64:
The text was updated successfully, but these errors were encountered: