From 9dc8e630a0a7396b0cfa081bad990d03bcb38f32 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 1e6faf1f..df7d19de 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);