Spaces:
Running
Running
Commit
·
3f3557f
1
Parent(s):
115b217
Update templates/index.html
Browse files- templates/index.html +1 -0
templates/index.html
CHANGED
@@ -391,6 +391,7 @@
|
|
391 |
// Stop stream when click button
|
392 |
document.querySelectorAll('hoverButton').forEach(button => {
|
393 |
button.addEventListener('click', () => {
|
|
|
394 |
init();
|
395 |
});
|
396 |
});
|
|
|
391 |
// Stop stream when click button
|
392 |
document.querySelectorAll('hoverButton').forEach(button => {
|
393 |
button.addEventListener('click', () => {
|
394 |
+
controller.abort();
|
395 |
init();
|
396 |
});
|
397 |
});
|