From 574ac978151663b48f53228ff696feeb30fd52bb Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Mon, 26 Jun 2017 10:13:02 +0700 Subject: [PATCH] Added a kmwembedded flag to make the error output's condition more explicit, refactored in-PR code to match. --- web/source/keymanweb.js | 18 +++++++++++------- web/source/kmwembedded.js | 5 ++++- web/source/kmwnative.js | 3 +++ 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/web/source/keymanweb.js b/web/source/keymanweb.js index 77153577bf..e1ebbd425c 100644 --- a/web/source/keymanweb.js +++ b/web/source/keymanweb.js @@ -3087,20 +3087,24 @@ var kbdLang = kbdStub['KL']; var kbdName = kbdStub['KN']; - if(typeof(kbdStub.asyncLoader.callback) == "function") { - // Add a handler for cases where the new