BraydenMoore commited on
Commit
d9063d0
·
1 Parent(s): 2e9a208

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -3
templates/index.html CHANGED
@@ -215,12 +215,12 @@
215
 
216
  <div style="display: flex; margin-top: 22px; margin-bottom: 0%;">
217
 
218
- <a href="?new=true" style="margin-right: 10px; display: inline-block;">
219
  <button class="hoverButton" style="border-radius: 5px; border: 2px solid yellow; background-color: transparent; padding: 10px;">
220
  another
221
  </button>
222
  </a>
223
- <a href="?new=false&id={{ id }}" id="refreshSameFeedButton" style="display: inline-block;">
224
  <button class="hoverButton" style="border-radius: 5px; border: 2px solid rgb(53, 53, 53); background-color: transparent; padding: 10px;">
225
  refresh
226
  </button>
@@ -390,7 +390,7 @@
390
  });
391
 
392
  // Stop stream when click button
393
- document.querySelectorAll('.hoverButton').forEach(button => {
394
  button.addEventListener('click', () => {
395
  controller.abort();
396
  });
 
215
 
216
  <div style="display: flex; margin-top: 22px; margin-bottom: 0%;">
217
 
218
+ <a class="abortButton" href="?new=true" style="margin-right: 10px; display: inline-block;">
219
  <button class="hoverButton" style="border-radius: 5px; border: 2px solid yellow; background-color: transparent; padding: 10px;">
220
  another
221
  </button>
222
  </a>
223
+ <a class="abortButton" href="?new=false&id={{ id }}" id="refreshSameFeedButton" style="display: inline-block;">
224
  <button class="hoverButton" style="border-radius: 5px; border: 2px solid rgb(53, 53, 53); background-color: transparent; padding: 10px;">
225
  refresh
226
  </button>
 
390
  });
391
 
392
  // Stop stream when click button
393
+ document.querySelectorAll('.abortButton').forEach(button => {
394
  button.addEventListener('click', () => {
395
  controller.abort();
396
  });