Remove extension.notification
This commit is contained in:
parent
bd7f4febaa
commit
d85ccbad4f
2 changed files with 6 additions and 14 deletions
|
@ -11,18 +11,4 @@
|
|||
window.addEventListener('beforeunload', callback);
|
||||
}
|
||||
};
|
||||
|
||||
extension.notification = {
|
||||
update: function(options) {
|
||||
var notification = new Notification(options.title, {
|
||||
body : options.message,
|
||||
icon : options.iconUrl,
|
||||
tag : 'signal'
|
||||
});
|
||||
notification.onclick = function() {
|
||||
Whisper.Notifications.onclick();
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
}());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue