Avoid jquery

This commit is contained in:
Chongyi Zheng 2024-02-25 19:38:47 -05:00
parent a52447ba6d
commit e677d96348
No known key found for this signature in database
GPG Key ID: 4B90B77407DA2359
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function checkItems(tokenAuth) {
} else {
enableItems = user?.value !== '' || pass?.value !== '';
}
if (enableItems && Number(service?.value) > 1 && !allowedServiceTypes.includes(Number($service.val()))) {
if (enableItems && Number(service?.value) > 1 && !allowedServiceTypes.includes(Number(service?.value))) {
if (mirror?.checked) {
for (const item of items) {
item.disabled = item.name !== 'wiki';