Spaces:
Running
Running
Commit
·
2a92843
1
Parent(s):
50aa50b
Update templates/index.html
Browse files- 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.
|
447 |
} else {
|
448 |
additionalInfo.style.height = '0';
|
449 |
-
showMore.
|
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 |
});
|