"distraction free mode" renamed to more standard "zen mode"

This commit is contained in:
zadam
2019-11-18 19:32:27 +01:00
parent a1181623b7
commit b4709e8ee5
10 changed files with 25 additions and 24 deletions

View File

@@ -92,12 +92,12 @@ function registerEntrypoints() {
}
}
// hide (toggle) everything except for the note content for zen mode
utils.bindGlobalShortcut('alt+m', e => {
$(".hide-toggle").toggle();
$("#container").toggleClass("distraction-free-mode");
$(".hide-in-zen-mode").toggle();
$("#container").toggleClass("zen-mode");
});
// hide (toggle) everything except for the note content for distraction free writing
utils.bindGlobalShortcut('alt+t', e => {
const date = new Date();
const dateString = utils.formatDateTime(date);