mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-07 05:59:02 +00:00
don't try loading the default page if it doesn't exist
This commit is contained in:
parent
d919493094
commit
81f539f65e
@ -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