]> git.sesse.net Git - ultimatescore/commitdiff
Hook up team names to lower thirds.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 25 Oct 2017 07:35:03 +0000 (09:35 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 25 Oct 2017 07:35:03 +0000 (09:35 +0200)
quickl3.js
score.js

index afdeb7890f1ff4c33d8a912ce3498599f85063ed..1457c1761bbba428f0e3c5db3733761a5d001e47 100644 (file)
@@ -92,6 +92,5 @@ function loadquickl3s()
        load_l3(sheet_c, 'C', cb);
 }
 
-// Test
-state = { 'A': 'TFK', 'B': 'ESK' };
+// Start by loading calls only
 loadquickl3s();
index 4d904f307c1ebb8db1533c1d53fbf32dd4277519..9222fa9e758a78682edd42ef8967f8e534640092 100644 (file)
--- a/score.js
+++ b/score.js
@@ -12,6 +12,9 @@ function setteams()
 {
        document.getElementById('team1').innerHTML = state['team1'];
        document.getElementById('team2').innerHTML = state['team2'];
+
+       state = { 'A': state['team1'], 'B': state['team2'] };
+       loadquickl3s();
 }
 
 function setcolors()