documentation, limit for serials length, fixes
This commit is contained in:
@ -248,6 +248,19 @@
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
var radioLabels = document.querySelectorAll('.radio-label');
|
||||
|
||||
radioLabels.forEach(function (label) {
|
||||
var labelText = label.textContent.trim();
|
||||
|
||||
if (labelText.length > 10) {
|
||||
label.textContent = '';
|
||||
label.appendChild(document.createTextNode(labelText.slice(0, 9) + '...'));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user