avoid string true for boolean variable
This commit is contained in:
parent
754e1770a5
commit
677724b76c
|
@ -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);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue