From: Dirk Brenken Date: Sat, 4 Apr 2020 06:57:58 +0000 (+0200) Subject: luci-app-adblock: disable textarea spellcheck X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F3834%2Fhead;p=oweals%2Fluci.git luci-app-adblock: disable textarea spellcheck * disable spellcheck for black- and whitelist textareas Signed-off-by: Dirk Brenken --- 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 : '' ])