summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-08 12:39:51 -0400
committerGitHub <noreply@github.com>2020-09-08 12:39:51 -0400
commit5af3c680e4b92509e95cf375eb34bddd24fd34f2 (patch)
tree57fae217bc27faa8455c45eb5aa08f5d807851d4 /ext/bg/js/settings
parentf7093b4c1abf73363e65dba54a098b76d0f2ba50 (diff)
Fix modifier keys not being spread (#785)
Diffstat (limited to 'ext/bg/js/settings')
-rw-r--r--ext/bg/js/settings/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js
index f775cd57..7fa8e502 100644
--- a/ext/bg/js/settings/main.js
+++ b/ext/bg/js/settings/main.js
@@ -47,7 +47,7 @@ async function settingsPopulateModifierKeys() {
const {platform: {os}} = await api.getEnvironmentInfo();
const modifierKeys = [
['none', 'None'],
- DocumentUtil.getModifierKeys(os)
+ ...DocumentUtil.getModifierKeys(os)
];
for (const [value, name] of modifierKeys) {
const option = document.createElement('option');