fix is_legacy_front should be a function still

This commit is contained in:
bymyself 2025-04-10 18:24:34 -07:00
parent 6e1c906aff
commit 1ce35679b1

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