From 272095547845a69a725c4564d63f40e50f47e563 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 28 Aug 2025 19:48:16 -0700 Subject: [PATCH] Fix a bug after d9eec31886246d5501b6502457c917fb46e9e748 --- js/global_scope_js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/global_scope_js.js b/js/global_scope_js.js index 89b51d67..d8de2b58 100644 --- a/js/global_scope_js.js +++ b/js/global_scope_js.js @@ -380,7 +380,7 @@ observer.observe(document.documentElement, { const originalWarn = console.warn; console.warn = function(...args) { - if (args[0] && args[0].includes("Attempted to select a non-interactive or hidden tab")) { + if (args[0] && typeof args[0] === 'string' && args[0].includes("Attempted to select a non-interactive or hidden tab")) { return; }