mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-26 01:27:42 +00:00
chore(web): commits PR suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
parent
ad60fe8c92
commit
b8a1beb2b9
1 changed files with 1 additions and 4 deletions
|
|
@ -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']() != '')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue