diff --git a/ui/round/src/ctrl.ts b/ui/round/src/ctrl.ts index 0f3a280103..0875aadbdb 100644 --- a/ui/round/src/ctrl.ts +++ b/ui/round/src/ctrl.ts @@ -574,7 +574,7 @@ export default class RoundController { if (was !== is) { lichess.quietMode = is; $('body') - .toggleClass('playing', !this.data.spectator) + .toggleClass('playing', !this.data.player.spectator) .toggleClass('no-select', is && this.clock && this.clock.millisOf(this.data.player.color) <= 3e5); } };