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);