Skip to content

Commit

Permalink
fix input box remaining red when going from erroneous query to empty …
Browse files Browse the repository at this point in the history
…query
  • Loading branch information
Eisenwave committed Aug 30, 2024
1 parent 0d15f80 commit 0d22c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export function parseInput(input) {
INPUT.style.height = (INPUT.scrollHeight + heightBalancingPixels) + 'px';

if (input.trim().length === 0) {
INPUT.className = '';
hideOutput();
setDiagnosticsHidden();
return;
Expand Down

0 comments on commit 0d22c5b

Please sign in to comment.