diff --git a/web/source/text/defaultOutput.ts b/web/source/text/defaultOutput.ts index 8c50d317cc..0590f3795f 100644 --- a/web/source/text/defaultOutput.ts +++ b/web/source/text/defaultOutput.ts @@ -29,7 +29,7 @@ namespace com.keyman.text { var char = ''; // A pretty simple table of lookups, corresponding VERY closely to the original defaultKeyOutput. - if(char = DefaultOutput.forSpecialEmulation(Lkc)) { + if((char = DefaultOutput.forSpecialEmulation(Lkc)) !== '') { return char; } else if(!isMnemonic && (char = DefaultOutput.forNumpadKeys(Lkc))) { return char; @@ -244,4 +244,4 @@ namespace com.keyman.text { return ''; } } -} \ No newline at end of file +}