luci-app-adblock: disable textarea spellcheck

* disable spellcheck for black- and whitelist textareas

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken 2020-04-04 08:57:58 +02:00
parent a237723de0
commit 92e78f59d3
No known key found for this signature in database
GPG key ID: 9D71CD547BFAE684
2 changed files with 2 additions and 0 deletions

View 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 : '' ])

View 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 : '' ])