From: Jo-Philipp Wich Date: Mon, 11 Oct 2021 21:52:40 +0000 (+0200) Subject: luci-mod-network: diagnostics: remove leftover attribute X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=4b5da809e03b2321d8362a289aa1b4979f8e8a71;p=openwrt-luci.git luci-mod-network: diagnostics: remove leftover attribute There is no `type` attribute for `select` elements. Fixes: 5ac9fd7b3b ("luci-mod-network: diagnostics: remove arp-scan install placeholder") Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js index 5855ee96af..f436118cf9 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js @@ -141,8 +141,7 @@ return view.extend({ has_arpscan ? E('td', { 'class': 'td left' }, [ E('select', { - 'style': 'margin:5px 0', - 'type': 'text' + 'style': 'margin:5px 0' }, devices.map(function(device) { if (!device.isUp()) return E([]);