From 0be339cf2d71ed596492ac803628792634b31e77 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Wed, 22 Jul 2020 07:50:35 +0200 Subject: [PATCH] fix enable-spell-checker button state --- public/trivabble.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/trivabble.js b/public/trivabble.js index 92199b8..f81d82f 100644 --- a/public/trivabble.js +++ b/public/trivabble.js @@ -172,6 +172,7 @@ if ((file.readyState === 4) && (file.status == "200")) { try { dictionary = file.responseText.split("\n"); + document.getElementById("enable-spell-checker").style.display = "none"; document.getElementById("check-spelling").style.display = "block"; } catch (e) { myAlert(_("Incorrect dictionary file.")); -- 2.30.2