summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2020-04-04 09:16:20 +0200
committerGitHub <noreply@github.com>2020-04-04 09:16:20 +0200
commitbee97d804100aac3ac3daf5d07a34711200922aa (patch)
treef702b455227cc16ee90b6db58073c064f434e1c9
parenta237723de0c18f9485c2f513e9645fbca6e34f60 (diff)
parent92e78f59d33c37bcb6e99f738c096cd9ff865f0f (diff)
Merge pull request #3834 from dibdot/adblock
luci-app-adblock: disable textarea spellcheck
-rw-r--r--applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/blacklist.js1
-rw-r--r--applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/whitelist.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/blacklist.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/blacklist.js
index b0c8b5aaf..23e346ed7 100644
--- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/blacklist.js
+++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/blacklist.js
@@ -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 : '' ])
diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/whitelist.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/whitelist.js
index 5d310f1db..68c6644fb 100644
--- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/whitelist.js
+++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/whitelist.js
@@ -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 : '' ])