BraydenMoore commited on
Commit
e1bc61d
·
1 Parent(s): e040b34

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +1 -1
templates/index.html CHANGED
@@ -442,7 +442,7 @@
442
  additionalInfo.style.overflow = 'hidden';
443
  additionalInfo.style.transition = 'height 0.3s ease-in-out';
444
 
445
- infoText.addEventListener('click', function() {
446
  if (additionalInfo.style.height === '0px') {
447
  const scrollHeight = additionalInfo.scrollHeight;
448
  additionalInfo.style.height = `${scrollHeight}px`;
 
442
  additionalInfo.style.overflow = 'hidden';
443
  additionalInfo.style.transition = 'height 0.3s ease-in-out';
444
 
445
+ showMore.addEventListener('click', function() {
446
  if (additionalInfo.style.height === '0px') {
447
  const scrollHeight = additionalInfo.scrollHeight;
448
  additionalInfo.style.height = `${scrollHeight}px`;