changed: header by default setting

This commit is contained in:
quenousimporte 2023-05-12 12:16:01 +02:00
parent ca4abe8d1a
commit 6f766e70a2
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ var defaultsettings =
titleinaccentcolor: false,
enablenetwork: false,
titlebydefault: false,
headerbydefault: false,
hideheaderbydefault: true,
linksinnewtab: true
};
@ -2293,7 +2293,7 @@ function bindfile(note)
}
currentheader = "";
if (!settings.headerbydefault && md.value.startsWith("---"))
if (settings.hideheaderbydefault && md.value.startsWith("---"))
{
toggleheader();
}