From fa8a249c60b8fb0795be73241c1db4c2bc0dca60 Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Tue, 24 Mar 2020 13:19:08 +0700 Subject: [PATCH] Update web/source/text/defaultOutput.ts Co-Authored-By: Marc Durdin --- web/source/text/defaultOutput.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}