projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Baroque Chess
[xogo.git]
/
utils
/
drawDiagrams.js
diff --git
a/utils/drawDiagrams.js
b/utils/drawDiagrams.js
index
ec55d50
..
9438dd6
100644
(file)
--- a/
utils/drawDiagrams.js
+++ b/
utils/drawDiagrams.js
@@
-42,6
+42,9
@@
function re_drawDiagrams() {
vr[i] = new V({
element: "diag_" + i,
fen: diagrams[i].dataset.fen,
+ marks: diagrams[i].dataset.mks
+ ? JSON.parse('[' + diagrams[i].dataset.mks + ']')
+ : undefined,
color: diagrams[i].dataset.col || 'w',
options: {},
diagram: true