]> git.sesse.net Git - ultimatescore/blobdiff - carousel.js
Support having a second scorebug for a second BT6000-controlled match.
[ultimatescore] / carousel.js
index b62fc270fb8ffdbbaa8b5bc402cd543b6ac9d8b3..8daed95d6e55bffa5b1cef6e8804e46250f384ff 100644 (file)
@@ -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;
+}