mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fixed sidebar switch in the options dialog
This commit is contained in:
parent
e712990c03
commit
5e9bedd903
@ -93,7 +93,7 @@ export default class SidebarOptions {
|
|||||||
this.$sidebarMinWidth.val(options.sidebarMinWidth);
|
this.$sidebarMinWidth.val(options.sidebarMinWidth);
|
||||||
this.$sidebarWidthPercent.val(options.sidebarWidthPercent);
|
this.$sidebarWidthPercent.val(options.sidebarWidthPercent);
|
||||||
|
|
||||||
if (parseInt(options.showSidebarInNewTab)) {
|
if (options.showSidebarInNewTab === 'true') {
|
||||||
this.$showSidebarInNewTab.attr("checked", "checked");
|
this.$showSidebarInNewTab.attr("checked", "checked");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user