From 5af3c680e4b92509e95cf375eb34bddd24fd34f2 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 8 Sep 2020 12:39:51 -0400 Subject: [PATCH] Fix modifier keys not being spread (#785) --- ext/bg/js/settings/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');