mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-08 01:45:32 +00:00
fix(web): Don't configure if banner undefined
This commit is contained in:
parent
0d6ce2d4ae
commit
ccc42f3fc9
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ namespace com.keyman.osk {
|
|||
}
|
||||
} else if(state == 'configured') {
|
||||
let suggestionBanner = this.activeBanner as SuggestionBanner;
|
||||
if(suggestionBanner.postConfigure) {
|
||||
if(suggestionBanner && suggestionBanner.postConfigure) {
|
||||
// Triggers the initially-displayed suggestions.s
|
||||
suggestionBanner.postConfigure();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue