Log on notification removal
// FREEBIE
This commit is contained in:
		
					parent
					
						
							
								4c0ed76909
							
						
					
				
			
			
				commit
				
					
						8939c61c7c
					
				
			
		
					 2 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -122,6 +122,7 @@
 | 
			
		|||
            return (setting === SETTINGS.MESSAGE || setting === SETTINGS.NAME);
 | 
			
		||||
        },
 | 
			
		||||
        onRemove: function() {
 | 
			
		||||
            console.log('remove notification');
 | 
			
		||||
            if (this.length === 0) {
 | 
			
		||||
                extension.notification.clear();
 | 
			
		||||
                return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue