mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
fix hiding toc with multiple splits, closes #4093
This commit is contained in:
@@ -248,7 +248,7 @@ class CloseHltButton extends OnClickButtonWidget {
|
||||
|
||||
this.icon("bx-x")
|
||||
.title("Close HighlightsListWidget")
|
||||
.titlePlacement("bottom")
|
||||
.titlePlacement("left")
|
||||
.onClick((widget, e) => {
|
||||
e.stopPropagation();
|
||||
|
||||
|
||||
@@ -267,7 +267,7 @@ class CloseTocButton extends OnClickButtonWidget {
|
||||
|
||||
this.icon("bx-x")
|
||||
.title("Close TOC")
|
||||
.titlePlacement("bottom")
|
||||
.titlePlacement("left")
|
||||
.onClick((widget, e) => {
|
||||
e.stopPropagation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user