mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 21:56:50 -04:00
Update rules to match Chezy Champs changes and add tooltips containing rule descriptions.
This commit is contained in:
@@ -56,6 +56,9 @@ var handleSetFinalScore = function(data) {
|
||||
$("#blueScoreDetails").html(matchResultTemplate({score: data.BlueScoreSummary, fouls: data.BlueFouls,
|
||||
cards: data.BlueCards}));
|
||||
$("#matchResult").modal("show");
|
||||
|
||||
// Activate tooltips above the foul listings.
|
||||
$("[data-toggle=tooltip]").tooltip({"placement": "top"});
|
||||
};
|
||||
|
||||
var postMatchResult = function(data) {
|
||||
|
||||
@@ -95,6 +95,9 @@ var commitMatch = function() {
|
||||
};
|
||||
|
||||
$(function() {
|
||||
// Activate tooltips above the rule buttons.
|
||||
$("[data-toggle=tooltip]").tooltip({"placement": "top"});
|
||||
|
||||
// Set up the websocket back to the server.
|
||||
websocket = new CheesyWebsocket("/displays/referee/websocket", {
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user