fixed sidebar switch in the options dialog

This commit is contained in:
zadam 2019-11-26 20:46:49 +01:00
parent e712990c03
commit 5e9bedd903

View File

@ -93,7 +93,7 @@ export default class SidebarOptions {
this.$sidebarMinWidth.val(options.sidebarMinWidth);
this.$sidebarWidthPercent.val(options.sidebarWidthPercent);
if (parseInt(options.showSidebarInNewTab)) {
if (options.showSidebarInNewTab === 'true') {
this.$showSidebarInNewTab.attr("checked", "checked");
}
else {