Spaces:
Running
Running
Commit
·
9509616
1
Parent(s):
4f5b338
Update static/app.js
Browse files- static/app.js +1 -1
static/app.js
CHANGED
|
@@ -11,7 +11,7 @@ var board = Chessboard("board", {
|
|
| 11 |
});
|
| 12 |
|
| 13 |
function updateInfo() {
|
| 14 |
-
document.getElementById(
|
| 15 |
let pos = board.position();
|
| 16 |
let pieces = Object.keys(pos).length;
|
| 17 |
}
|
|
|
|
| 11 |
});
|
| 12 |
|
| 13 |
function updateInfo() {
|
| 14 |
+
document.getElementById('fen').value = board.fen();
|
| 15 |
let pos = board.position();
|
| 16 |
let pieces = Object.keys(pos).length;
|
| 17 |
}
|