fixed: avoid toggle header in preview mode

This commit is contained in:
quenousimporte 2023-05-09 12:01:57 +02:00
parent 3240854915
commit 2f0d18822f
1 changed files with 21 additions and 18 deletions

View File

@ -1934,6 +1934,8 @@ function restore()
}
function toggleheader()
{
if (preview.hidden)
{
if (md.value.startsWith("---"))
{
@ -1956,6 +1958,7 @@ function toggleheader()
resize();
}
}
function splitshortcut(s)
{