Fix a rendering issue in the moves file
This commit is contained in:
parent
7f2a0cd884
commit
e9d6434c88
|
@ -734,11 +734,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if(move % 2 === 0) {
|
if(move % 2 === 0) {
|
||||||
if(record.innerHTML.length > longest) {
|
if(record.childNodes[1].nodeValue.length > longest) {
|
||||||
longest = record.innerHTML.length;
|
longest = record.childNodes[1].nodeValue.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
game[pos] = [record.innerHTML];
|
game[pos] = [record.childNodes[1].nodeValue];
|
||||||
} else {
|
} else {
|
||||||
game[pos].push(record.innerHTML);
|
game[pos].push(record.innerHTML);
|
||||||
pos += 1;
|
pos += 1;
|
||||||
|
|
Loading…
Reference in New Issue