mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fixup - can't name a variable "interface" in JS.
This commit is contained in:
parent
3c75c9c73d
commit
286b126e55
@ -12,11 +12,11 @@ function validateConfig() {
|
||||
}
|
||||
} else if (document.getElementById('singleInterfaceMode').checked) {
|
||||
// Validate single interface mode fields
|
||||
const interface = document.getElementById('interface').value.trim();
|
||||
const interfaceName = document.getElementById('interface').value.trim();
|
||||
const internetVlan = parseInt(document.getElementById('internetVlan').value);
|
||||
const networkVlan = parseInt(document.getElementById('networkVlan').value);
|
||||
|
||||
if (!interface) {
|
||||
if (!interfaceName) {
|
||||
alert("Interface name is required in single interface mode");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user