diff --git a/__init__.py b/__init__.py index 44dd693..65d4625 100644 --- a/__init__.py +++ b/__init__.py @@ -29,7 +29,7 @@ except: print(f"[WARN] ComfyUI-Manager: Your ComfyUI version is outdated. Please update to the latest version.") -version = [2, 7, 1] +version = [2, 7, 2] version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') print(f"### Loading: ComfyUI-Manager ({version_str})") diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index c32c43b..9f7224e 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -1052,7 +1052,7 @@ class ManagerMenuDialog extends ComfyDialog { onclick: (e) => { const last_visited_site = localStorage.getItem("wg_last_visited") if (!!last_visited_site) { - window.open(last_visited_site, "comfyui-workflow-gallery"); + window.open(last_visited_site, last_visited_site); } else { this.handleWorkflowGalleryButtonClick(e) } @@ -1179,7 +1179,7 @@ class ManagerMenuDialog extends ComfyDialog { callback: () => { const url = "https://openart.ai/workflows/dev"; localStorage.setItem("wg_last_visited", url); - window.open(url, "comfyui-workflow-gallery"); + window.open(url, url); modifyButtonStyle(url); }, }, @@ -1188,7 +1188,7 @@ class ManagerMenuDialog extends ComfyDialog { callback: () => { const url = "https://youml.com/?from=comfyui-share"; localStorage.setItem("wg_last_visited", url); - window.open(url, "comfyui-workflow-gallery"); + window.open(url, url); modifyButtonStyle(url); }, }, @@ -1197,7 +1197,7 @@ class ManagerMenuDialog extends ComfyDialog { callback: () => { const url = "https://comfyworkflows.com/"; localStorage.setItem("wg_last_visited", url); - window.open(url, "comfyui-workflow-gallery"); + window.open(url, url); modifyButtonStyle(url); }, }, @@ -1206,7 +1206,7 @@ class ManagerMenuDialog extends ComfyDialog { callback: () => { const url = "https://flowt.ai/"; localStorage.setItem("wg_last_visited", url); - window.open(url, "comfyui-workflow-gallery"); + window.open(url, url); modifyButtonStyle(url); }, },