diff --git a/src/chess_pressure/static/app.js b/src/chess_pressure/static/app.js index 62e945f..4083407 100644 --- a/src/chess_pressure/static/app.js +++ b/src/chess_pressure/static/app.js @@ -263,9 +263,12 @@ } // --- Playback --- + const ICON_PLAY = ''; + const ICON_PAUSE = ''; + function togglePlay() { playing = !playing; - document.getElementById("btn-play").innerHTML = playing ? "▮▮" : "▶"; + document.getElementById("btn-play").innerHTML = playing ? ICON_PAUSE : ICON_PLAY; if (playing) { playTimer = setInterval(() => { if (currentIndex >= gameData.frames.length - 1) { diff --git a/src/chess_pressure/static/index.html b/src/chess_pressure/static/index.html index 0cfb824..b9a210a 100644 --- a/src/chess_pressure/static/index.html +++ b/src/chess_pressure/static/index.html @@ -4,7 +4,7 @@