luci-app-adblock: disable textarea spellcheck 3834/head
authorDirk Brenken <dev@brenken.org>
Sat, 4 Apr 2020 06:57:58 +0000 (08:57 +0200)
committerDirk Brenken <dev@brenken.org>
Sat, 4 Apr 2020 06:57:58 +0000 (08:57 +0200)
* disable spellcheck for black- and whitelist textareas

Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/blacklist.js
applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/whitelist.js

index b0c8b5aafce15e6bdee470908cfd53edcef795ef..23e346ed7dcbc9e4cca4f5928652dca1afc16ee1 100644 (file)
@@ -25,6 +25,7 @@ return view.extend({
                        E('p', {},
                                E('textarea', {
                                        'style': 'width: 100% !important; padding: 5px; font-family: monospace',
+                                       'spellcheck': 'false',
                                        'wrap': 'off',
                                        'rows': 25
                                }, [ blacklist != null ? blacklist : '' ])
index 5d310f1dbe6619482a1c980ec0ac4c264f04ccae..68c6644fb391d97db10ff6c7bf0453e41edf0115 100644 (file)
@@ -25,6 +25,7 @@ return view.extend({
                        E('p', {},
                                E('textarea', {
                                        'style': 'width: 100% !important; padding: 5px; font-family: monospace',
+                                       'spellcheck': 'false',
                                        'wrap': 'off',
                                        'rows': 25
                                }, [ whitelist != null ? whitelist : '' ])