From 548281773d02f658f36690c02c6397776d409450 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 24 Nov 2018 21:32:33 +0100 Subject: luci-mod-network: remove debug code from iface_status.js Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/network/iface_status.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/luci-mod-network/htdocs') 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, -- cgit v1.2.3