Skip to content

Commit 6998441

Browse files
committed
keyboardManager.js: Fix uninitialized var.
1 parent 582d871 commit 6998441

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/ui/keyboardManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,7 @@ var InputSourceManager = class {
857857
}
858858

859859
if (infosList.length == 0) {
860+
let prefs = '';
860861
let type = INPUT_SOURCE_TYPE_XKB;
861862
let id = DEFAULT_LAYOUT;
862863
let [, displayName, shortName, xkbLayout, variant] = this._xkbInfo.get_layout_info(id);

0 commit comments

Comments
 (0)