mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-10 15:39:01 +00:00
fix: make the notion-enhancer menu visible again
This commit is contained in:
parent
4e2253d0ac
commit
70abec5630
@ -11,7 +11,7 @@ const notificationsURL = 'https://notion-enhancer.github.io/notifications.json';
|
|||||||
export default async function ({ env, fs, storage, registry, web }, db) {
|
export default async function ({ env, fs, storage, registry, web }, db) {
|
||||||
web.addHotkeyListener(await db.get(['hotkey']), env.focusMenu);
|
web.addHotkeyListener(await db.get(['hotkey']), env.focusMenu);
|
||||||
|
|
||||||
const sidebarSelector = '.notion-sidebar-container .notion-sidebar > div:nth-child(4)';
|
const sidebarSelector = '.notion-sidebar-container .notion-sidebar > div:nth-child(3) > div > div:nth-child(2)';
|
||||||
await web.whenReady([sidebarSelector]);
|
await web.whenReady([sidebarSelector]);
|
||||||
|
|
||||||
const $sidebarLink = web.html`<div class="enhancer--sidebarMenuLink" role="button" tabindex="0">
|
const $sidebarLink = web.html`<div class="enhancer--sidebarMenuLink" role="button" tabindex="0">
|
||||||
|
Loading…
Reference in New Issue
Block a user