diff --git a/web/model-manager.js b/web/model-manager.js index d5bd037..2c6e9b2 100644 --- a/web/model-manager.js +++ b/web/model-manager.js @@ -1999,7 +1999,12 @@ class ModelGrid { icon: "information-outline", tooltip: "View model information", classList: "comfyui-button icon-button model-button", - action: async() => { await showModelInfo(searchPath) }, + action: async(e) => { + const [button, icon, span] = comfyButtonDisambiguate(e.target); + button.disabled = true; + await showModelInfo(searchPath); + button.disabled = false; + }, }).element, ]; const dragAdd = (e) => ModelGrid.#dragAddModel(