mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-06 13:43:49 +01:00
Remove obsolete stuff after custom gradio updates
This commit is contained in:
parent
da3010c3ed
commit
942ff8fcb4
|
|
@ -351,18 +351,3 @@ function handleMorphdomUpdate(data) {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
//------------------------------------------------
|
||||
// Suppress "Attempted to select a non-interactive or hidden tab" warning
|
||||
//------------------------------------------------
|
||||
(function() {
|
||||
const originalWarn = console.warn;
|
||||
|
||||
console.warn = function(...args) {
|
||||
if (args[0] && typeof args[0] === "string" && args[0].includes("Attempted to select a non-interactive or hidden tab")) {
|
||||
return;
|
||||
}
|
||||
|
||||
originalWarn.apply(console, args);
|
||||
};
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue