BraydenMoore commited on
Commit
82bee64
1 Parent(s): 70760e8

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +1 -1
templates/index.html CHANGED
@@ -389,7 +389,7 @@
389
  // Stop stream when click button
390
  document.querySelectorAll('hoverButton').forEach(button => {
391
  button.addEventListener('click', () => {
392
- controller.abort();
393
  });
394
  });
395
 
 
389
  // Stop stream when click button
390
  document.querySelectorAll('hoverButton').forEach(button => {
391
  button.addEventListener('click', () => {
392
+ fetch('/abort_stream');
393
  });
394
  });
395