We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bdfe519 + ffd77d5 commit 077653eCopy full SHA for 077653e
ui/round/src/view/button.ts
@@ -77,7 +77,7 @@ function rematchButtons(ctrl: RoundController): MaybeVNodes {
77
} else if (d.opponent.onGame) {
78
d.player.offeringRematch = true;
79
ctrl.socket.send('rematch-yes');
80
- } else if (!(e.target as HTMLElement).classList.contains('disabled')) ctrl.challengeRematch();
+ } else if (!(e.currentTarget as HTMLElement).classList.contains('disabled')) ctrl.challengeRematch();
81
},
82
ctrl.redraw
83
),
0 commit comments