mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-24 00:27:40 +00:00
fix(web): forgot to fix a reference to an altered method signature
This commit is contained in:
parent
e4f93dbfc1
commit
f4e27c7566
1 changed files with 3 additions and 2 deletions
|
|
@ -145,9 +145,10 @@ export class KeymanEngine extends KeymanEngineBase<ContextManager, KeyEventKeybo
|
|||
if(Pkbd) {
|
||||
stub = this.keyboardRequisitioner.cache.getStub(Pkbd, Plc);
|
||||
if(!stub) {
|
||||
return;
|
||||
throw new Error(`No keyboard has been registered with id ${Pkbd} and language code ${Plc}.`);
|
||||
}
|
||||
}
|
||||
this.contextManager.setKeyboardForTarget(Pelem._kmwAttachment.interface, stub);
|
||||
|
||||
this.contextManager.setKeyboardForTarget(Pelem._kmwAttachment.interface, Pkbd, Plc);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue