diff --git a/web/js/textbox.js b/web/js/textbox.js index 64e604d..6bd997f 100644 --- a/web/js/textbox.js +++ b/web/js/textbox.js @@ -168,7 +168,7 @@ app.registerExtension({ const shouldHighlightGradient = inputEl.highlightGradient; const loraColor = colors ? colors[0] : undefined; - if (!colors || !errorColor || !loraColor || !shouldHighlightGradient) { + if (!colors || !errorColor || !loraColor || shouldHighlightGradient == undefined) { setTimeout(() => syncText(inputEl, overlayEl), 5); return; }