Remove extension.notification
This commit is contained in:
parent
bd7f4febaa
commit
d85ccbad4f
2 changed files with 6 additions and 14 deletions
|
@ -74,6 +74,12 @@
|
|||
message : message,
|
||||
iconUrl : iconUrl
|
||||
});
|
||||
var notification = new Notification(title, {
|
||||
body : message,
|
||||
icon : iconUrl,
|
||||
tag : 'signal'
|
||||
});
|
||||
notification.onclick = this.onclick.bind(this);
|
||||
},
|
||||
getSetting: function() {
|
||||
return storage.get('notification-setting') || 'message';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue