Update rules to match Chezy Champs changes and add tooltips containing rule descriptions.

This commit is contained in:
Patrick Fairbank
2018-08-18 18:40:21 -07:00
parent cd050d4e18
commit 11b1b6a943
7 changed files with 61 additions and 10 deletions

View File

@@ -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) {

View File

@@ -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", {
});