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:
754e177
)
avoid string true for boolean variable
author
Laurent Mazet
<mazet@softndesign.org>
Sun, 13 Sep 2020 09:39:40 +0000
(11:39 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sun, 13 Sep 2020 09:39:40 +0000
(11:39 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 518cd30d61e2b1435999198cbcfa4f96c63126ec..5286b7ffc47e7896d92d49ba47aedbd637082c95 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-260,11
+260,11
@@
return;
}
- if (!force &&
getSetting("spellCheckerEnabled") !== "true"
) {
+ if (!force &&
!getSetting("spellCheckerEnabled")
) {
myConfirm(
_("Spell checking requires Trivabble to download a dictionary. Do you confirm?"),
function () {
- setSetting("spellCheckerEnabled",
"true"
);
+ setSetting("spellCheckerEnabled",
true
);
getDictionary(code, callback, true);
}
);