Skip to content

Commit c165793

Browse files
Update app.js
1 parent d90b450 commit c165793

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async function afterSignIn(user) {
102102
document.getElementById("game-panel").style.display = "block";
103103
const url = new URL(userData.currentGameUrl)
104104
const gameId = url.pathname.slice(1);
105-
document.getElementById("userGame").src = `https://lichess.org/embed/${gameId}#9999?theme=auto&bg=auto`;
105+
document.getElementById("userGame").src = `https://lichess.org/embed/${gameId}#9999?theme=dark&bg=auto`;
106106

107107
if (!checkIfFirstMove(gameId)) {
108108
document.getElementById("reportButton").style.display = "block";
@@ -247,7 +247,7 @@ async function loadMatches() {
247247
card.appendChild(title);
248248

249249
const iframe = document.createElement('iframe');
250-
iframe.src = `https://lichess.org/embed/${lichessGameId}#9999?theme=auto&bg=auto`;
250+
iframe.src = `https://lichess.org/embed/${lichessGameId}#9999?theme=dark&bg=auto`;
251251
iframe.width = '240';
252252
iframe.height = '240';
253253
iframe.style.borderRadius = '4px';

0 commit comments

Comments
 (0)