BraydenMoore commited on
Commit
aa1bf80
·
verified ·
1 Parent(s): 18c911c

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +4 -4
templates/index.html CHANGED
@@ -283,7 +283,7 @@
283
 
284
  <span id="show-more">more <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i></span>
285
 
286
- <span class="tag"><br>by brayden moore<br><a href="mailto:[email protected]">[email protected]</a></span>
287
 
288
  </p>
289
 
@@ -367,7 +367,7 @@
367
  infoText.style.opacity = "1";
368
 
369
  setTimeout(refreshImage, 500);
370
- country.textContent = "{{ country|upper }}";
371
 
372
  };
373
 
@@ -500,10 +500,10 @@
500
  if (additionalInfo.style.height === '0px') {
501
  const scrollHeight = additionalInfo.scrollHeight;
502
  additionalInfo.style.height = `${scrollHeight}px`;
503
- showMore.innerHTML = 'less <i style="margin-bottom:20px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i>';
504
  } else {
505
  additionalInfo.style.height = '0';
506
- showMore.innerHTML = 'more <i style="margin-bottom:20px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i>';
507
  }
508
  });
509
  });
 
283
 
284
  <span id="show-more">more <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i></span>
285
 
286
+ <span class="tag"><br>(made by brayden moore)<br>(<a href="mailto:[email protected]">[email protected]</a>)</span>
287
 
288
  </p>
289
 
 
367
  infoText.style.opacity = "1";
368
 
369
  setTimeout(refreshImage, 500);
370
+ country.textContent = "{{ country }}";
371
 
372
  };
373
 
 
500
  if (additionalInfo.style.height === '0px') {
501
  const scrollHeight = additionalInfo.scrollHeight;
502
  additionalInfo.style.height = `${scrollHeight}px`;
503
+ showMore.innerHTML = 'less <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i>';
504
  } else {
505
  additionalInfo.style.height = '0';
506
+ showMore.innerHTML = 'more <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i>';
507
  }
508
  });
509
  });