mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	fix(client): selecting note after split pane opens in wrong pane
This commit is contained in:
		@@ -8,7 +8,10 @@ export default class CreatePaneButton extends OnClickButtonWidget {
 | 
				
			|||||||
        this.icon("bx-dock-right")
 | 
					        this.icon("bx-dock-right")
 | 
				
			||||||
            .title(t("create_pane_button.create_new_split"))
 | 
					            .title(t("create_pane_button.create_new_split"))
 | 
				
			||||||
            .titlePlacement("bottom")
 | 
					            .titlePlacement("bottom")
 | 
				
			||||||
            .onClick((widget) => widget.triggerCommand("openNewNoteSplit", { ntxId: widget.getClosestNtxId() }))
 | 
					            .onClick((widget, e) => {
 | 
				
			||||||
 | 
					                widget.triggerCommand("openNewNoteSplit", { ntxId: widget.getClosestNtxId() });
 | 
				
			||||||
 | 
					                e.stopPropagation();
 | 
				
			||||||
 | 
					            })
 | 
				
			||||||
            .class("icon-action");
 | 
					            .class("icon-action");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user