changed: header by default setting
This commit is contained in:
parent
ca4abe8d1a
commit
6f766e70a2
4
main.js
4
main.js
|
@ -14,7 +14,7 @@ var defaultsettings =
|
||||||
titleinaccentcolor: false,
|
titleinaccentcolor: false,
|
||||||
enablenetwork: false,
|
enablenetwork: false,
|
||||||
titlebydefault: false,
|
titlebydefault: false,
|
||||||
headerbydefault: false,
|
hideheaderbydefault: true,
|
||||||
linksinnewtab: true
|
linksinnewtab: true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2293,7 +2293,7 @@ function bindfile(note)
|
||||||
}
|
}
|
||||||
|
|
||||||
currentheader = "";
|
currentheader = "";
|
||||||
if (!settings.headerbydefault && md.value.startsWith("---"))
|
if (settings.hideheaderbydefault && md.value.startsWith("---"))
|
||||||
{
|
{
|
||||||
toggleheader();
|
toggleheader();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue