Use innerText instead of textContent

This commit is contained in:
Svilen Markov 2025-05-19 21:11:11 +01:00 committed by GitHub
parent aa3b2c3b1b
commit 92bc68b61a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -661,7 +661,7 @@ function setupTruncatedElementTitles() {
for (let i = 0; i < elements.length; i++) {
const element = elements[i];
if (element.getAttribute("title") === null) element.title = element.textContent.trim();
if (element.getAttribute("title") === null) element.title = element.innerText;
}
}