diff --git a/commands/background.js b/commands/background.js index 0e4d361..e4a12ee 100644 --- a/commands/background.js +++ b/commands/background.js @@ -10,7 +10,7 @@ * shortcut: "Ctrl+Shift+Y" * }] */ -chrome.commands.getAll(function(commandsArray) { +chrome.commands.getAll(function(commands) { commands.forEach(function(command) { console.log(command); }); @@ -24,4 +24,4 @@ chrome.commands.getAll(function(commandsArray) { */ chrome.commands.onCommand.addListener(function(command) { console.log("onCommand event received for message: ", command); -}); \ No newline at end of file +});