Spaces:
Running
Running
Commit
·
de9b052
1
Parent(s):
ac758b2
Update templates/index.html
Browse files- templates/index.html +4 -4
templates/index.html
CHANGED
@@ -162,7 +162,7 @@
|
|
162 |
cursor: pointer;
|
163 |
}
|
164 |
#additional-info {
|
165 |
-
|
166 |
transition: 0.3s ease;
|
167 |
}
|
168 |
|
@@ -441,11 +441,11 @@
|
|
441 |
const additionalInfo = document.getElementById('additional-info');
|
442 |
const showMore = document.getElementById('show-more');
|
443 |
|
444 |
-
additionalInfo.style.
|
445 |
|
446 |
infoText.addEventListener('click', function() {
|
447 |
-
additionalInfo.style.display = (additionalInfo.style.
|
448 |
-
showMore.style.display = (additionalInfo.style.
|
449 |
});
|
450 |
});
|
451 |
|
|
|
162 |
cursor: pointer;
|
163 |
}
|
164 |
#additional-info {
|
165 |
+
height: 0px;
|
166 |
transition: 0.3s ease;
|
167 |
}
|
168 |
|
|
|
441 |
const additionalInfo = document.getElementById('additional-info');
|
442 |
const showMore = document.getElementById('show-more');
|
443 |
|
444 |
+
additionalInfo.style.height = '0px';
|
445 |
|
446 |
infoText.addEventListener('click', function() {
|
447 |
+
additionalInfo.style.display = (additionalInfo.style.height === '0px') ? 'auto' : '0px';
|
448 |
+
showMore.style.display = (additionalInfo.style.height === '0px') ? 'inline' : 'none';
|
449 |
});
|
450 |
});
|
451 |
|