mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +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")
|
this.icon("bx-x")
|
||||||
.title("Close HighlightsListWidget")
|
.title("Close HighlightsListWidget")
|
||||||
.titlePlacement("bottom")
|
.titlePlacement("left")
|
||||||
.onClick((widget, e) => {
|
.onClick((widget, e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
||||||
|
|||||||
@@ -267,7 +267,7 @@ class CloseTocButton extends OnClickButtonWidget {
|
|||||||
|
|
||||||
this.icon("bx-x")
|
this.icon("bx-x")
|
||||||
.title("Close TOC")
|
.title("Close TOC")
|
||||||
.titlePlacement("bottom")
|
.titlePlacement("left")
|
||||||
.onClick((widget, e) => {
|
.onClick((widget, e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user