Merge pull request #493 from sayanarijit/patch-1

Minor fix in commands extension
This commit is contained in:
Rob Wu
2022-05-22 14:51:18 +02:00
committed by GitHub

View File

@@ -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;
}