Fix modifier keys not being spread (#785)
This commit is contained in:
parent
f7093b4c1a
commit
5af3c680e4
@ -47,7 +47,7 @@ async function settingsPopulateModifierKeys() {
|
|||||||
const {platform: {os}} = await api.getEnvironmentInfo();
|
const {platform: {os}} = await api.getEnvironmentInfo();
|
||||||
const modifierKeys = [
|
const modifierKeys = [
|
||||||
['none', 'None'],
|
['none', 'None'],
|
||||||
DocumentUtil.getModifierKeys(os)
|
...DocumentUtil.getModifierKeys(os)
|
||||||
];
|
];
|
||||||
for (const [value, name] of modifierKeys) {
|
for (const [value, name] of modifierKeys) {
|
||||||
const option = document.createElement('option');
|
const option = document.createElement('option');
|
||||||
|
Loading…
Reference in New Issue
Block a user