changed: hide chat by default
changed: switch to preview if note has a "preview" tag
This commit is contained in:
parent
2c157e4962
commit
a9b16637cd
4
main.js
4
main.js
|
@ -16,7 +16,7 @@ var defaultsettings =
|
||||||
titleinaccentcolor: false,
|
titleinaccentcolor: false,
|
||||||
enablenetwork: false,
|
enablenetwork: false,
|
||||||
titlebydefault: false,
|
titlebydefault: false,
|
||||||
chat: true
|
chat: false
|
||||||
};
|
};
|
||||||
|
|
||||||
//builtin
|
//builtin
|
||||||
|
@ -2493,7 +2493,7 @@ function loadnote(name)
|
||||||
localdata.unshift(note);
|
localdata.unshift(note);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!preview.hidden || (preview.hidden && note.title == "press review"))
|
if (!preview.hidden || (preview.hidden && gettags(note).indexOf("preview") !== -1))
|
||||||
{
|
{
|
||||||
togglepreview();
|
togglepreview();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue