File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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' ;
You can’t perform that action at this time.
0 commit comments