Skip to content

Commit

Permalink
Merge pull request #493 from sayanarijit/patch-1
Browse files Browse the repository at this point in the history
Minor fix in commands extension
  • Loading branch information
Rob--W authored May 22, 2022
2 parents 69ae749 + dfa9e51 commit 6452f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6452f29

Please sign in to comment.