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