From 03eaab432a254c0e143696867ec3679588c842bb Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 03:09:06 +0100 Subject: [PATCH] client console: rm poor heuristic error message detection --- src/client/ui/ui-console.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index 708c3aa6..aad0e5b2 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -161,8 +161,6 @@ class UiConsole extends UiSidePanel { node.textContent = message } - if (type !== 'error' && node.textContent.match(/error/i)) node.classList.add('error') - node.scrollIntoView() if (++this.length > this.maxLength) this.purge()