From 5b8ed5412f755b1f185bea0e0ad33205e09b7e1c Mon Sep 17 00:00:00 2001 From: Sj-Si Date: Mon, 3 Jun 2024 16:06:25 -0400 Subject: [PATCH] fix typo --- javascript/extraNetworks.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/javascript/extraNetworks.js b/javascript/extraNetworks.js index 5bb585ce6..3b6b8bdee 100644 --- a/javascript/extraNetworks.js +++ b/javascript/extraNetworks.js @@ -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; }