X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=carousel.js;h=8daed95d6e55bffa5b1cef6e8804e46250f384ff;hb=b2f520916cf152c9d2c868f9181369127b485a12;hp=e73a38701b455c46330a7edef42cad8306cf9770;hpb=86050e4351c734b617780440cf534c4c615c64bc;p=ultimatescore diff --git a/carousel.js b/carousel.js index e73a387..8daed95 100644 --- a/carousel.js +++ b/carousel.js @@ -581,7 +581,7 @@ function get_group(group_name, cb) req.onload = function(e) { cb(JSON.parse(req.responseText), group_name); }; - req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/1uh7kr5v_hyD072b1G2tbQlhqd_8ldS_6j30CBocQ-4E/values/\'' + group_name + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); + req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/1ygfeR6njBUmLyuLRq7zfYW5slMWBGnj4XxzQQ4WJklU/values/\'' + group_name + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); req.send(); } @@ -695,5 +695,18 @@ function hidescorebug() function showscorebug() { document.getElementById('entire-bug').style.display = null; -}; +} +function showmatch2() +{ + let css = "-webkit-animation: fade-in 1.0s ease; -webkit-animation-fill-mode: both;"; + document.getElementById('scorebug2').style = css; + document.getElementById('clockbug2').style = css; +} + +function hidematch2() +{ + let css = "-webkit-animation: fade-out 1.0s ease; -webkit-animation-fill-mode: both;"; + document.getElementById('scorebug2').style = css; + document.getElementById('clockbug2').style = css; +}