From 1ce35679b1ed7318ae1eaa5341095189927d9165 Mon Sep 17 00:00:00 2001 From: bymyself Date: Thu, 10 Apr 2025 18:24:34 -0700 Subject: [PATCH] fix is_legacy_front should be a function still --- comfyui_manager/js/comfyui-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfyui_manager/js/comfyui-manager.js b/comfyui_manager/js/comfyui-manager.js index e0672b04..a7079280 100644 --- a/comfyui_manager/js/comfyui-manager.js +++ b/comfyui_manager/js/comfyui-manager.js @@ -222,7 +222,7 @@ function isBeforeFrontendVersion(compareVersion) { } } -const is_legacy_front = isBeforeFrontendVersion('1.2.49'); +const is_legacy_front = () => isBeforeFrontendVersion('1.2.49'); const isNewManagerUI = () => isBeforeFrontendVersion('1.16.4'); document.head.appendChild(docStyle);