Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62edfe0
)
fix enable-spell-checker button state
author
Laurent Mazet
<mazet@softndesign.org>
Wed, 22 Jul 2020 05:50:35 +0000
(07:50 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Wed, 22 Jul 2020 05:50:35 +0000
(07:50 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 92199b8eee76a27b30e4efc17ed0727d19a52494..f81d82fa5836b92ac1fd616516bc8ac5a1a46100 100644
(file)
--- 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."));