fix(web): forgot to fix a reference to an altered method signature

This commit is contained in:
Joshua A. Horton 2023-05-16 10:23:36 +07:00
parent e4f93dbfc1
commit f4e27c7566

View file

@ -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);
}
}