X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=carousel.js;h=0a3d707e641d0b2a39e4eece0ef1c020b3e8340f;hb=fe24af7266193f4908d73c49403387af8c819acc;hp=b62fc270fb8ffdbbaa8b5bc402cd543b6ac9d8b3;hpb=44bf264bc9045503216832dcc7261f885983df4c;p=ultimatescore diff --git a/carousel.js b/carousel.js index b62fc27..0a3d707 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/1ygfeR6njBUmLyuLRq7zfYW5slMWBGnj4XxzQQ4WJklU/values/\'' + group_name + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); + req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/1DSRRcV6d6Dx9KbCZgOSFF0MX9wKRex9nHcUjjOG4DNE/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; +}