fix is_legacy_front should be a function still

This commit is contained in:
bymyself 2025-04-10 18:24:34 -07:00
parent 10105ad737
commit 9dc8e630a0

View File

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