diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-24 21:32:33 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-24 21:32:33 +0100 |
commit | 548281773d02f658f36690c02c6397776d409450 (patch) | |
tree | 795d7da91ac1deea16120f81de911cedc562f263 /modules/luci-mod-network/htdocs | |
parent | 12ed0274a9c9f470770138be6a195267f6228104 (diff) |
luci-mod-network: remove debug code from iface_status.js
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js index 1852f179fd..88f48d189a 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js @@ -6,10 +6,8 @@ requestAnimationFrame(function() { L.poll(5, L.url('admin/network/iface_status', network), null, function(xhr, ifaces) { var ifc = Array.isArray(ifaces) ? ifaces[0] : null; - if (!ifc) { - alert('No ifc!'); + if (!ifc) return; - } L.itemlist(info, [ _('Device'), ifc.ifname, |