changed: hide chat by default

changed: switch to preview if note has a "preview" tag
This commit is contained in:
quenousimporte 2023-04-27 14:06:33 +02:00
parent 2c157e4962
commit a9b16637cd
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ var defaultsettings =
titleinaccentcolor: false,
enablenetwork: false,
titlebydefault: false,
chat: true
chat: false
};
//builtin
@ -2493,7 +2493,7 @@ function loadnote(name)
localdata.unshift(note);
}
if (!preview.hidden || (preview.hidden && note.title == "press review"))
if (!preview.hidden || (preview.hidden && gettags(note).indexOf("preview") !== -1))
{
togglepreview();
}