mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
Fix a bug after d9eec31886
This commit is contained in:
parent
d9eec31886
commit
2720955478
|
|
@ -380,7 +380,7 @@ observer.observe(document.documentElement, {
|
||||||
const originalWarn = console.warn;
|
const originalWarn = console.warn;
|
||||||
|
|
||||||
console.warn = function(...args) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue