forked from External/greenlight
fix multiple notifications when user has multiple tabs
This commit is contained in:
parent
8ac2c5d6d7
commit
16443584ab
|
@ -69,7 +69,8 @@ var showNotification = function(title, options) {
|
|||
if (Notification.permission === "granted") {
|
||||
var icon = '<%= asset_path("bbb-logo.png") %>';
|
||||
options = $.extend(options, {
|
||||
icon: icon
|
||||
icon: icon,
|
||||
tag: 'UserWaiting'
|
||||
});
|
||||
var notification = new Notification(title, options);
|
||||
notification.onclick = function() {
|
||||
|
|
Loading…
Reference in New Issue