luci-mod-network: diagnostics: remove leftover attribute
authorJo-Philipp Wich <jo@mein.io>
Mon, 11 Oct 2021 21:52:40 +0000 (23:52 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 11 Oct 2021 21:52:40 +0000 (23:52 +0200)
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 <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js

index 5855ee96af7d1296a9b15ec2630352c05d79d622..f436118cf99445083d1156ef755c9f3872576256 100644 (file)
@@ -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([]);