From 8de60408cbe7d4a3defb8f525ef9daf7e4ee1578 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 19 Mar 2012 23:50:00 -0500 Subject: [PATCH] clean penalty font, don't allow skater name changes mid-bout --- penalties.js | 2 +- scoreboard.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/penalties.js b/penalties.js index 6771f10..582ff98 100644 --- a/penalties.js +++ b/penalties.js @@ -108,7 +108,7 @@ function penalties_click (event) { } } else if (pops.className == "majors") { val = ((div.value || 0) + inc + 9) % 9; - } else { + } else if (state == SETUP) { val = prompt("Enter skater number", div.text); } diff --git a/scoreboard.css b/scoreboard.css index d92bf68..906eb6c 100644 --- a/scoreboard.css +++ b/scoreboard.css @@ -103,6 +103,7 @@ background-color: #800; } #penalties .sk8ers td { + font-family: sans-serif; vertical-align: top; width: 1em; line-height: 75%;