documentation, limit for serials length, fixes

This commit is contained in:
Ivan
2023-10-16 02:57:17 +03:00
parent 343cc24b01
commit cc01af1b03
16 changed files with 2531 additions and 1492 deletions

View File

@ -208,6 +208,23 @@
});
});
document.addEventListener('DOMContentLoaded', function () {
var radioLabels = document.querySelectorAll('.radio-label');
radioLabels.forEach(function (label) {
var labelText = label.querySelector('.text').textContent.trim();
if (labelText.length > 10) {
var textSpan = document.createElement('span');
textSpan.className = 'text';
textSpan.textContent = labelText.slice(0, 9) + '...';
label.querySelector('.text').replaceWith(textSpan);
}
});
});
</script>
<script>