save timeouts, fix empty skater number
This commit is contained in:
parent
235edc2d09
commit
1a34e82cef
|
@ -144,6 +144,7 @@ function penalties_init () {
|
||||||
|
|
||||||
div = document.createElement("div");
|
div = document.createElement("div");
|
||||||
div.text = "";
|
div.text = "";
|
||||||
|
div.appendChild(document.createTextNode("•"));
|
||||||
td = document.createElement("td");
|
td = document.createElement("td");
|
||||||
td.onclick = penalties_click;
|
td.onclick = penalties_click;
|
||||||
td.appendChild(div);
|
td.appendChild(div);
|
||||||
|
|
|
@ -353,6 +353,8 @@ function save() {
|
||||||
localStorage.rdsb_logo_b = e("logo-b").src;
|
localStorage.rdsb_logo_b = e("logo-b").src;
|
||||||
localStorage.rdsb_score_a = e("score-a").innerHTML;
|
localStorage.rdsb_score_a = e("score-a").innerHTML;
|
||||||
localStorage.rdsb_score_b = e("score-b").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 = period;
|
||||||
localStorage.rdsb_period_clock = e("period").remaining();
|
localStorage.rdsb_period_clock = e("period").remaining();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue