mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-17 18:33:05 +08:00
fix is_legacy_front should be a function still
This commit is contained in:
parent
10105ad737
commit
9dc8e630a0
@ -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');
|
const isNewManagerUI = () => isBeforeFrontendVersion('1.16.4');
|
||||||
|
|
||||||
document.head.appendChild(docStyle);
|
document.head.appendChild(docStyle);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user