mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-28 00:37:53 +00:00
Merge pull request #16784 from keymanapp/fix/web/16783_wordbreaksAfterSuggestions
fix(web): don't crash if model isn't fully loaded yet 🏠
This commit is contained in:
commit
33d62d221f
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ export class LanguageProcessor extends EventEmitter<LanguageProcessorEventMap> {
|
|||
}
|
||||
|
||||
public get wordbreaksAfterSuggestions() {
|
||||
return this.configuration.wordbreaksAfterSuggestions;
|
||||
return this.configuration?.wordbreaksAfterSuggestions;
|
||||
}
|
||||
|
||||
public tryAcceptSuggestion(source: string): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue