BraydenMoore commited on
Commit
2a92843
·
1 Parent(s): 50aa50b

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -2
templates/index.html CHANGED
@@ -443,10 +443,10 @@
443
  if (additionalInfo.style.height === '0px') {
444
  const scrollHeight = additionalInfo.scrollHeight;
445
  additionalInfo.style.height = `${scrollHeight}px`;
446
- showMore.style.display = 'none';
447
  } else {
448
  additionalInfo.style.height = '0';
449
- showMore.style.display = 'inline';
450
  }
451
  });
452
  });
 
443
  if (additionalInfo.style.height === '0px') {
444
  const scrollHeight = additionalInfo.scrollHeight;
445
  additionalInfo.style.height = `${scrollHeight}px`;
446
+ showMore.textContent = 'less';
447
  } else {
448
  additionalInfo.style.height = '0';
449
+ showMore.textContent = 'more';
450
  }
451
  });
452
  });