mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
fixed sidebar switch in the options dialog
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user