diff --git a/index.html b/index.html index b31ff25..d907ee5 100755 --- a/index.html +++ b/index.html @@ -15,7 +15,10 @@
- + +
+ Close +
diff --git a/sumorobot.js b/sumorobot.js index 1b67430..40bef79 100755 --- a/sumorobot.js +++ b/sumorobot.js @@ -367,6 +367,11 @@ window.onload = function() { } }); + /* start button listener */ + $(".btn-close").click(function() { + $("#stream").hide(); + }); + /* start button listener */ $(".btn-start").click(function() { sumostart = true;