mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	client: Fix calendar dropdown not closing (fixes #384)
The regression was introduced in 612e4406b55619e1d8de8b57797fa6ab834111be. This might cause some other issues in closing the highlights, but none were identified during a cursory testing.
This commit is contained in:
		
							parent
							
								
									50c0252055
								
							
						
					
					
						commit
						c2ce7d617a
					
				@ -7,7 +7,6 @@ export default class OnClickButtonWidget extends AbstractButtonWidget {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        if (this.settings.onClick) {
 | 
					        if (this.settings.onClick) {
 | 
				
			||||||
            this.$widget.on("click", e => {
 | 
					            this.$widget.on("click", e => {
 | 
				
			||||||
                e.stopPropagation();
 | 
					 | 
				
			||||||
                this.$widget.tooltip("hide");
 | 
					                this.$widget.tooltip("hide");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                this.settings.onClick(this, e);
 | 
					                this.settings.onClick(this, e);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user