Spaces:
Running
Running
Commit
·
82bee64
1
Parent(s):
70760e8
Update templates/index.html
Browse files- 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 |
-
|
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 |
|