luci-mod-network: remove debug code from iface_status.js
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
12ed0274a9
commit
548281773d
1 changed files with 1 additions and 3 deletions
|
@ -6,10 +6,8 @@ requestAnimationFrame(function() {
|
||||||
|
|
||||||
L.poll(5, L.url('admin/network/iface_status', network), null, function(xhr, ifaces) {
|
L.poll(5, L.url('admin/network/iface_status', network), null, function(xhr, ifaces) {
|
||||||
var ifc = Array.isArray(ifaces) ? ifaces[0] : null;
|
var ifc = Array.isArray(ifaces) ? ifaces[0] : null;
|
||||||
if (!ifc) {
|
if (!ifc)
|
||||||
alert('No ifc!');
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
L.itemlist(info, [
|
L.itemlist(info, [
|
||||||
_('Device'), ifc.ifname,
|
_('Device'), ifc.ifname,
|
||||||
|
|
Loading…
Reference in a new issue