Fixed 'Check' word button in spelling dialog, b=77175, r=brade, sr=kin

This commit is contained in:
cmanske%netscape.com 2001-04-28 02:50:10 +00:00
parent e037c232ba
commit 734ad8b6f8

View File

@ -257,7 +257,7 @@ function SetWidgetsForMisspelledWord()
function CheckWord() function CheckWord()
{ {
word = dialog.ReplaceWordInput.value; word = dialog.ReplaceWordInput.value;
if (!word) { if (word) {
isMisspelled = spellChecker.CheckCurrentWord(word); isMisspelled = spellChecker.CheckCurrentWord(word);
if (isMisspelled) { if (isMisspelled) {
MisspelledWord = word; MisspelledWord = word;