diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index 24250982..8ae6fff6 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -1174,15 +1174,6 @@ class ManagerMenuDialog extends ComfyDialog { ShareDialogChooser.instance.show(); }, }, - { - title: "Open 'esheep'", - callback: () => { - const url = "https://www.esheep.com"; - localStorage.setItem("wg_last_visited", url); - window.open(url, url); - modifyButtonStyle(url); - }, - }, { title: "Open 'openart.ai'", callback: () => { @@ -1219,6 +1210,15 @@ class ManagerMenuDialog extends ComfyDialog { modifyButtonStyle(url); }, }, + { + title: "Open 'esheep'", + callback: () => { + const url = "https://www.esheep.com"; + localStorage.setItem("wg_last_visited", url); + window.open(url, url); + modifyButtonStyle(url); + }, + }, { title: "Close", callback: () => { diff --git a/js/comfyui-share-common.js b/js/comfyui-share-common.js index 647b607c..ca09dd76 100644 --- a/js/comfyui-share-common.js +++ b/js/comfyui-share-common.js @@ -264,16 +264,6 @@ export class ShareDialogChooser extends ComfyDialog { } createButtons() { const buttons = [ - { - key: "esheep", - textContent: "eSheep", - website: "https://www.esheep.com", - description: "Share & download thousands of ComfyUI workflows on esheep.com", - onclick: () => { - shareToEsheep(); - this.close(); - } - }, { key: "openart", textContent: "OpenArt AI", @@ -316,6 +306,16 @@ export class ShareDialogChooser extends ComfyDialog { }) } }, + { + key: "esheep", + textContent: "eSheep", + website: "https://www.esheep.com", + description: "Share & download thousands of ComfyUI workflows on esheep.com", + onclick: () => { + shareToEsheep(); + this.close(); + } + }, ]; function createShareButtonsWithDescriptions() {