Browse Source

Merge pull request #74 from re4jh/fix_varname_for_yui-compressor

varname "interface" causes problems. let's call it "aninterface"
pull/79/head
mart-ffbsee 1 month ago
parent
commit
8a68ceb3cd
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      files/www/lan/scripts.js

+ 2
- 2
files/www/lan/scripts.js View File

@@ -2049,8 +2049,8 @@ function init_wifiscan() {
if (interfaces.length === 0) {
continue;
}
for (let interface in interfaces) {
var ifname = interfaces[interface].ifname;
for (let aninterface in interfaces) {
var ifname = interfaces[aninterface].ifname;
if (typeof(ifname) === 'string') {
add_list_entry(device, ifname);
}

Loading…
Cancel
Save