mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-05-28 07:27:00 +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…
x
Reference in New Issue
Block a user