mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-12 18:47:41 +00:00
Merge pull request #4620 from keymanapp/fix/web/4566-undefined-in-ui-toolbar-menu
fix(web): use language code correctly in toolbar
This commit is contained in:
commit
9bc6beb6e7
1 changed files with 1 additions and 1 deletions
|
|
@ -531,7 +531,7 @@ if(!window['keyman']['ui']['name']) {
|
|||
var itemNode = ui.createNode('li');
|
||||
kbdText = lang.keyboards[n]['Name'].replace(/\s?keyboard/i,'');
|
||||
// We append the full BCP-47 code here for disambiguation when regional and/or script variants exist.
|
||||
kbdText = kbdText + " [" + lang.keyboards[n].LanguageCode + "]";
|
||||
kbdText = kbdText + " [" + lang.keyboards[n]['LanguageCode'] + "]";
|
||||
aNode = ui.createNode('a', null, null, kbdText);
|
||||
aNode.href = '#';
|
||||
aNode.title = '';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue