mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-12 00:09:03 +00:00
Merge pull request #119 from DarkOnion0/dev
fix: make the notion-enhancer menu visible again
This commit is contained in:
commit
7e9cd1b581
@ -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