diff --git a/scoreboard.css b/scoreboard.css index a932680..d12d142 100644 --- a/scoreboard.css +++ b/scoreboard.css @@ -49,6 +49,6 @@ #jam.timeout { background: #044; } -#jam.rotate { +#jam.lineup { background: #060; } \ No newline at end of file diff --git a/scoreboard.js b/scoreboard.js index 477a829..fd73285 100644 --- a/scoreboard.js +++ b/scoreboard.js @@ -28,7 +28,7 @@ /* State names */ var SETUP = 0; // !P 30:00 !J 2:00 var JAM = 1; // P J 2:00 -var ROTATE = 2; // P J 1:00 +var LINEUP = 2; // P J 1:00 var TIMEOUT = 3; // !P J 1:00 var periodtext = ["Period 1", "Halftime", "Period 2", "Break"]; @@ -143,11 +143,11 @@ function transition(newstate) { jt.set(120000); jt.start(); jtext.innerHTML = "Jam"; - } else if (state == ROTATE) { + } else if (state == LINEUP) { pt.start(); - jt.set(30000, "rotate"); + jt.set(30000, "lineup"); jt.start(); - jtext.innerHTML = "Rotation"; + jtext.innerHTML = "Lineup"; } else if (state == TIMEOUT) { pt.stop(); if (pt.remaining() <= 0) { @@ -264,7 +264,7 @@ function handle(event) { break; case "jam": if (state == JAM) { - newstate = ROTATE; + newstate = LINEUP; } else { newstate = JAM; } @@ -290,7 +290,7 @@ function key(e) { switch (String.fromCharCode(e.which || 0)) { case " ": if (state == JAM) { - newstate = ROTATE; + newstate = LINEUP; } else { newstate = JAM; }