Skip to content

Commit

Permalink
use local icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ufuk committed Jan 15, 2017
1 parent 9d6e262 commit fec467b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// When extension installed, open options page at once
chrome.runtime.onInstalled.addListener(function () {
console.log("Extension installed.");
chrome.runtime.openOptionsPage(function() {
chrome.runtime.openOptionsPage(function () {
console.log("Options page opened.");
});
});
Expand Down Expand Up @@ -53,7 +53,7 @@ function notify(alarmName, title, message) {
chrome.notifications.create(notificationId, {
"type": "basic",
"title": title,
"iconUrl": "https://raw.githubusercontent.com/ufuk/notify-by-script/master/icon.png",
"iconUrl": chrome.extension.getURL("icon.png"),
"message": message
}, function () {
console.log("Notification created: " + notificationId);
Expand Down

0 comments on commit fec467b

Please sign in to comment.