diff --git a/commands/options.js b/commands/options.js index 884e48f..a58f05f 100644 --- a/commands/options.js +++ b/commands/options.js @@ -5,7 +5,7 @@ const commandName = 'toggle-feature'; */ async function updateUI() { let commands = await browser.commands.getAll(); - for (command of commands) { + for (let command of commands) { if (command.name === commandName) { document.querySelector('#shortcut').value = command.shortcut; }