save timeouts, fix empty skater number

This commit is contained in:
Neale Pickett 2011-12-17 11:26:08 -07:00
parent 235edc2d09
commit 1a34e82cef
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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();
}