diff --git a/src/public/javascripts/services/entrypoints.js b/src/public/javascripts/services/entrypoints.js index 0a7bda731..e533fc4fb 100644 --- a/src/public/javascripts/services/entrypoints.js +++ b/src/public/javascripts/services/entrypoints.js @@ -108,7 +108,7 @@ function registerEntrypoints() { $("#container").toggleClass("zen-mode"); }; - utils.bindGlobalShortcut('alt+m', toggleZenMode); + $("#toggle-zen-mode-button").on('click', toggleZenMode); setActionHandler("ToggleZenMode", toggleZenMode); setActionHandler("InsertDateTime", () => { diff --git a/src/views/desktop.ejs b/src/views/desktop.ejs index 09b1527dd..41b1fa7be 100644 --- a/src/views/desktop.ejs +++ b/src/views/desktop.ejs @@ -78,7 +78,13 @@ Reload frontend - CTRL-R + CTRL+R + + + + + Toggle Zen mode + ALT+M