Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sj-Si committed Jun 3, 2024
1 parent 4b0f321 commit 5b8ed54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javascript/extraNetworks.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class ExtraNetworksError extends Error {
this.name = this.constructor.name;
}
}

class ExtraNetworksPageReadyError extends Error {
constructor(...args) {
super(...args);
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 5b8ed54

Please sign in to comment.