mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
fix(web): remove spurious log "No keyboard stubs exist"
This error has been logged for every start of Keyman Engine for Web in embedded contexts, but nothing bad ever happens. It does not really seem to be anything we need to worry about. (It may be that the `setDefaultKeyboard()` call will never return true, but it is still harmless in any case.)
This commit is contained in:
parent
88c7363ab7
commit
3977ffda2f
1 changed files with 1 additions and 3 deletions
|
|
@ -1623,9 +1623,7 @@ namespace com.keyman.dom {
|
|||
|
||||
// Exit initialization here if we're using an embedded code path.
|
||||
if(this.keyman.isEmbedded) {
|
||||
if(!this.keyman.keyboardManager.setDefaultKeyboard()) {
|
||||
console.error("No keyboard stubs exist - cannot initialize keyboard!");
|
||||
}
|
||||
this.keyman.keyboardManager.setDefaultKeyboard();
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue