From 01e8c3b080e750e76f73222e3170f3298cc8f8d9 Mon Sep 17 00:00:00 2001 From: tophf Date: Mon, 4 Dec 2017 09:00:03 +0300 Subject: [PATCH] disable spellchecking in input fields --- edit.html | 4 ++-- edit/applies-to-line-widget.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/edit.html b/edit.html index 008a8cc7..ef364bf9 100644 --- a/edit.html +++ b/edit.html @@ -80,7 +80,7 @@ - + @@ -157,7 +157,7 @@ - + diff --git a/edit/applies-to-line-widget.js b/edit/applies-to-line-widget.js index f3687213..91d26f63 100644 --- a/edit/applies-to-line-widget.js +++ b/edit/applies-to-line-widget.js @@ -37,7 +37,7 @@ function createAppliesToLineWidget(cm) { $create('option', {value: 'domain'}, t('appliesDomainOption')), $create('option', {value: 'regexp'}, t('appliesRegexpOption')), ]), - $create('input.applies-value'), + $create('input.applies-value', {spellcheck: false}), $create('button.test-regexp', t('styleRegexpTestButton')), $create('button.remove-applies-to', t('appliesRemove')), $create('button.add-applies-to', t('appliesAdd')),