Commit
·
13ced46
1
Parent(s):
30f5957
Update templates/index.html
Browse files- templates/index.html +2 -0
templates/index.html
CHANGED
|
@@ -394,7 +394,9 @@
|
|
| 394 |
document.querySelectorAll('.abortButton').forEach(button => {
|
| 395 |
button.addEventListener('click', () => {
|
| 396 |
if (controller) {
|
|
|
|
| 397 |
controller.abort();
|
|
|
|
| 398 |
}
|
| 399 |
});
|
| 400 |
});
|
|
|
|
| 394 |
document.querySelectorAll('.abortButton').forEach(button => {
|
| 395 |
button.addEventListener('click', () => {
|
| 396 |
if (controller) {
|
| 397 |
+
console.log("Aborting");
|
| 398 |
controller.abort();
|
| 399 |
+
init();
|
| 400 |
}
|
| 401 |
});
|
| 402 |
});
|