add alarms permission, very minor update to a comment

This commit is contained in:
Will Bamberg
2016-01-19 14:55:09 -08:00
parent 8c437b7cdc
commit f878399ceb
2 changed files with 2 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ var DELAY = 0.1;
var CATGIFS = "http://chilloutandwatchsomecatgifs.com/";
/*
Restart alarm for the currently active tab, whenever this script is run.
Restart alarm for the currently active tab, whenever background.js is run.
*/
chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {
restartAlarm(tabs[0].id);

View File

@@ -11,6 +11,7 @@
},
"permissions": [
"alarms",
"tabs"
],