From 9bfe98e6005c874205609ea10633491cb981328d Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Wed, 14 Aug 2024 00:43:43 +0200 Subject: [PATCH] add info message for space between emoji and text --- snippets/shx-3d-render-input.liquid | 3 --- 1 file changed, 3 deletions(-) diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index f49921c..b8d78e8 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -597,7 +597,6 @@ inputLabel.textContent = 'Leerzeichen werden bei diesem Typ nicht unterstützt. Bitte wechsle zu "Mit Hintergrund"'; inputLabel.style.color = 'red'; } else if (emojisSupported && !isEmojiSpacingOk(value)) { - console.warn("here in", document.querySelector('#shx-info-text')) document.querySelector('#shx-info-text').style.display = 'block'; document.querySelector('#shx-info-text').style.color = '#45aaf2'; document.querySelector('#shx-info-text').innerHTML = 'Tipp: Füge Leerzeichen zwischen Text und Emojis ein, um den Text besser lesbar zu machen.'; @@ -611,8 +610,6 @@ document.querySelector('#shx-info-text').style.display = 'none'; }, 8000); } - - console.warn("here2", emojisSupported, !isEmojiSpacingOk(value)) } }