mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-05 13:19:03 +00:00
don't try loading the default page if it doesn't exist
This commit is contained in:
parent
967f8a61f9
commit
c5c02bc7e7
@ -1077,7 +1077,8 @@ module.exports = (store, __exports) => {
|
||||
}).then(() => {
|
||||
if (
|
||||
document.getElementById('notion').getAttribute('src') ===
|
||||
'notion://www.notion.so'
|
||||
'notion://www.notion.so' &&
|
||||
idToNotionURL(store().default_page)
|
||||
) {
|
||||
document
|
||||
.getElementById('notion')
|
||||
|
Loading…
Reference in New Issue
Block a user