Compare commits
2 Commits
25d294b1c7
...
5784e61e40
Author | SHA1 | Date | |
---|---|---|---|
5784e61e40 | |||
63f88a2076 |
|
@ -27,10 +27,10 @@ function _notification(message, data)
|
||||||
message += data;
|
message += data;
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
type: "basic",
|
type: "basic",
|
||||||
title : "gPass",
|
title : "gPass",
|
||||||
message : message,
|
message : message,
|
||||||
iconUrl:browser.extension.getURL("icons/gpass_icon_64.png")
|
iconUrl: browser.runtime.getURL("icons/gpass_icon_64.png")
|
||||||
};
|
};
|
||||||
|
|
||||||
browser.notifications.create("gPass", options, function(){});
|
browser.notifications.create("gPass", options, function(){});
|
||||||
|
|
|
@ -25,10 +25,10 @@ function _notification(message, data)
|
||||||
message += data;
|
message += data;
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
type: "basic",
|
type: "basic",
|
||||||
title : "gPass",
|
title : "gPass",
|
||||||
message : message,
|
message : message,
|
||||||
iconUrl:browser.extension.getURL("icons/gpass_icon_64.png")
|
iconUrl: browser.runtime.getURL("icons/gpass_icon_64.png")
|
||||||
};
|
};
|
||||||
|
|
||||||
browser.notifications.create(options).then(
|
browser.notifications.create(options).then(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user