This commit is contained in:
Sj-Si 2024-06-03 16:06:25 -04:00
parent 4b0f321ef7
commit 5b8ed5412f

View File

@ -80,6 +80,7 @@ class ExtraNetworksError extends Error {
this.name = this.constructor.name;
}
}
class ExtraNetworksPageReadyError extends Error {
constructor(...args) {
super(...args);
@ -410,7 +411,7 @@ class ExtraNetworksTab {
}
setupResizeGrid() {
if (!isNullOrUndefined(this.resize_grid) && !(gradioApp().contains(this.resize_grid.elem)) {
if (!isNullOrUndefined(this.resize_grid) && !(gradioApp().contains(this.resize_grid.elem))) {
this.resize_grid.destroy();
this.resize_grid = null;
}