luci-mod-network: remove debug code from iface_status.js

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-11-24 21:32:33 +01:00
parent 12ed0274a9
commit 548281773d

View file

@ -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,