diff --git a/src/app/organisms/navigation/DrawerHeader.jsx b/src/app/organisms/navigation/DrawerHeader.jsx index 98a3eb4..67486b6 100644 --- a/src/app/organisms/navigation/DrawerHeader.jsx +++ b/src/app/organisms/navigation/DrawerHeader.jsx @@ -41,7 +41,7 @@ function DrawerHeader({ selectedTab, spaceId }) { e.preventDefault(); openReusableContextMenu( 'bottom', - getEventCords(e, '.drawer-header__btn'), + getEventCords(e, '.header'), (closeMenu) => , ); }; diff --git a/src/client/state/settings.js b/src/client/state/settings.js index 011d0bd..ab4ae6f 100644 --- a/src/client/state/settings.js +++ b/src/client/state/settings.js @@ -79,8 +79,8 @@ class Settings extends EventEmitter { if (typeof this.isMarkdown === 'boolean') return this.isMarkdown; const settings = getSettings(); - if (settings === null) return false; - if (typeof settings.isMarkdown === 'undefined') return false; + if (settings === null) return true; + if (typeof settings.isMarkdown === 'undefined') return true; return settings.isMarkdown; }