Spaces:
Running
Running
Commit
·
e1bc61d
1
Parent(s):
e040b34
Update templates/index.html
Browse files- 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 |
-
|
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`;
|