From b8a1beb2b9730224b23f6255225cec679c4d259f Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Mon, 6 Jun 2022 08:06:20 +0700 Subject: [PATCH] chore(web): commits PR suggestion Co-authored-by: Marc Durdin --- web/source/kmwuitoolbar.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/source/kmwuitoolbar.ts b/web/source/kmwuitoolbar.ts index d4e18379b4..47512e52b6 100644 --- a/web/source/kmwuitoolbar.ts +++ b/web/source/kmwuitoolbar.ts @@ -756,14 +756,11 @@ if(!window['keyman']['ui']['name']) { **/ ui.showOSK = function(event) { - keymanweb['activatingUI'](true); - // As the Toolbar UI uses more advanced minification, we must preserve the 'osk' field name. let osk = keymanweb['osk']; - if(!osk) { - keymanweb['activatingUI'](false); return; } + keymanweb['activatingUI'](true); //Toggle OSK on or off if(osk && keymanweb['getActiveKeyboard']() != '') {