~vpzom/bracketmonster

e01538457b03b1effccee5ac17123195dd38212a — Colin Reeder 5 months ago c702ab3
Fix click event suppression
1 files changed, 2 insertions(+), 0 deletions(-)

M rosebush/src/client/pages/bracket.tsx
M rosebush/src/client/pages/bracket.tsx => rosebush/src/client/pages/bracket.tsx +2 -0
@@ 278,12 278,14 @@ class BracketView extends Component<BracketViewProps, BracketViewState> {
	@bind
	editBracketInfoClick(evt: Event): void {
		evt.preventDefault();
		evt.stopPropagation();
		this.props.addModal(<BracketInfoEditDialog bracket={this.props.bracket} />);
	}

	@bind
	editClick(match: MatchInfo, evt: Event): void {
		evt.preventDefault();
		evt.stopPropagation();
		this.props.addModal(<MatchEditDialog match={match} playerMap={this.state.playerMap} bracket={this.props.bracket} />);
	}
}