projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Better board size auto-adjust. Still far from perfect
[vchess.git]
/
client
/
src
/
data
/
problemCheck.js
diff --git
a/client/src/data/problemCheck.js
b/client/src/data/problemCheck.js
index
d6b916c
..
8ee101f
100644
(file)
--- a/
client/src/data/problemCheck.js
+++ b/
client/src/data/problemCheck.js
@@
-1,5
+1,5
@@
export function checkProblem(p) {
- const vid = parseInt(p.vid);
+ const vid = parseInt(p.vid
, 10
);
if (isNaN(vid) || vid <= 0) return "Please select a variant";
if (!V.IsGoodFen(p.fen)) return "Errors in FEN";