mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix hiding toc with multiple splits, closes #4093
This commit is contained in:
parent
b3381a3b53
commit
1a7c2d4c32
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user