modules/luci-base: fixes typo

This commit is contained in:
coolsnowwolf 2023-10-18 16:26:29 +08:00
parent dddd74832c
commit b911c6b18d

View File

@ -189,7 +189,7 @@ var cbi_validators = {
{
return cbi_validators.hostname.apply(this) ||
((ipv4only != 1) && cbi_validators.ipaddr.apply(this)) ||
((ipv4only == 1) && cb_validators.ip4addr.apply(this));
((ipv4only == 1) && cbi_validators.ip4addr.apply(this));
},
'hostname': function()