diff options
Diffstat (limited to 'background.js')
| -rw-r--r-- | background.js | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/background.js b/background.js index b87bd04..393de06 100644 --- a/background.js +++ b/background.js @@ -51,4 +51,12 @@ chrome.browserAction.onClicked.addListener(function(tab) {  			openOrFocusOptionsPage();  		}  	}); +}); + + +// Handle keyboard shortcut +chrome.commands.onCommand.addListener(function(command) { +	if (command === 'download') { +		download_backup_file(); +	}  });
\ No newline at end of file | 
