add info message for space between emoji and text

main
alexanderroese 2024-08-14 00:19:01 +02:00
parent 679f9b0ad9
commit 10c3d32ae0
1 changed files with 2 additions and 2 deletions

View File

@ -603,9 +603,9 @@
inputLabel.style.color = 'red';
} else if (emojisSupported && !isEmojiSpacingOk(value)) {
console.warn("here in", document.querySelector('#shx-info-text'))
document.querySelector('#shx-info-text').style.innerHTML = 'Tipp: Füge Leerzeichen zwischen Text und Emojis ein, um den Text besser lesbar zu machen.';
document.querySelector('#shx-info-text').style.color = 'red';
document.querySelector('#shx-info-text').style.display = 'block';
document.querySelector('#shx-info-text').style.color = 'red';
document.querySelector('#shx-info-text').style.innerHTML = 'Tipp: Füge Leerzeichen zwischen Text und Emojis ein, um den Text besser lesbar zu machen.';
// hide the text after 8 seconds
setTimeout(() => {