From 4b5da809e03b2321d8362a289aa1b4979f8e8a71 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 11 Oct 2021 23:52:40 +0200 Subject: [PATCH] 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 --- .../htdocs/luci-static/resources/view/network/diagnostics.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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([]); -- 2.30.2