mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Rewriting sim implementation to be data driven
The value for enabled should be an int, not a string
This commit is contained in:
1 parent
dda873a633
commit
eff3f42ae1
3 files changed
+24
-19
No files matched your search
+1
-1
@@ -1852,7 +1852,7 @@ function lldpLoad(){
|
||||
postCmd("port "+p.portNum+" lldp "+(this.checked?"permit":"block"))
|
||||
.then(function(){setTimeout(lldpLoad,300)}).catch(function(){});
|
||||
}}),h("i")]);
|
||||
sw.firstChild.checked=p.enabled;
|
||||
sw.firstChild.checked=p.permitted;
|
||||
tr.insertCell().appendChild(sw);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user