Skip to content

Commit

Permalink
Tournaments: Don't crash when tours have pipes in their name
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Sep 28, 2023
1 parent 631f1a3 commit fd4c1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/client-chat-tournament.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@
break;

case 'end':
var endData = JSON.parse(data[0]);
var endData = JSON.parse(data.join('|'));

var $bracket = this.generateBracket(endData.bracketData);
if ($bracket) {
Expand Down

0 comments on commit fd4c1ea

Please sign in to comment.