From 8a78eb8e10e798dede21c81a56d9e50bde916a4b Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 21 Nov 2018 19:24:35 +0000 Subject: [PATCH] Disable spellcheck on recovery field. --- passmate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/passmate.js b/passmate.js index b24570d..3fc844d 100644 --- a/passmate.js +++ b/passmate.js @@ -68,6 +68,7 @@ class PassMate { this.addElement('blurb', overview, 'A unique code has been generated for you below. It changes every time you refresh this website. If you\'d like to reprint an existing book, change the code below to the one printed on page 3 of your old book. The new book will contain all the same passwords as the old book. This is all done without the code or passwords ever leaving your computer.'); this.recoveryIn = this.addElement('recovery', overview); this.recoveryIn.contentEditable = true; + this.recoveryIn.spellcheck = false; this.recoveryIn.addEventListener('input', () => { this.onRecoveryChange(); });