BraydenMoore commited on
Commit
77c20ac
·
1 Parent(s): 778b22a

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +4 -3
templates/index.html CHANGED
@@ -387,10 +387,11 @@
387
  });
388
 
389
  // Stop stream when click button
390
- document.querySelectorAll('hoverButton').forEach(button => {
391
  button.addEventListener('click', () => {
392
- controller.abort();
393
-
 
394
 
395
  // Time count
396
  document.addEventListener("DOMContentLoaded", function() {
 
387
  });
388
 
389
  // Stop stream when click button
390
+ document.querySelectorAll('.stopStream').forEach(button => {
391
  button.addEventListener('click', () => {
392
+ controller.abort();
393
+ });
394
+ });
395
 
396
  // Time count
397
  document.addEventListener("DOMContentLoaded", function() {