From 1a34e82cefd38db1a2b1a09add3d69ca73bfd86f Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sat, 17 Dec 2011 11:26:08 -0700 Subject: [PATCH] save timeouts, fix empty skater number --- penalties.js | 1 + scoreboard.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/penalties.js b/penalties.js index e64b383..1718bb7 100644 --- a/penalties.js +++ b/penalties.js @@ -144,6 +144,7 @@ function penalties_init () { div = document.createElement("div"); div.text = ""; + div.appendChild(document.createTextNode("•")); td = document.createElement("td"); td.onclick = penalties_click; td.appendChild(div); diff --git a/scoreboard.js b/scoreboard.js index fbf8c1a..c39e40f 100644 --- a/scoreboard.js +++ b/scoreboard.js @@ -353,6 +353,8 @@ function save() { localStorage.rdsb_logo_b = e("logo-b").src; localStorage.rdsb_score_a = e("score-a").innerHTML; localStorage.rdsb_score_b = e("score-b").innerHTML; + localStorage.rdsb_score_a = e("timeouts-a").innerHTML; + localStorage.rdsb_score_b = e("timeouts-b").innerHTML; localStorage.rdsb_period = period; localStorage.rdsb_period_clock = e("period").remaining(); }