mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-19 11:09:03 +00:00
Fix modal detection on preview pages
This commit is contained in:
parent
d468195e00
commit
3830657a1e
@ -317,8 +317,9 @@ module.exports = {
|
||||
for ( let { addedNodes } of list) {
|
||||
if (addedNodes[0] &&
|
||||
addedNodes[0].style &&
|
||||
(addedNodes[0].style.cssText === 'pointer-events: auto; position: relative; z-index: 1;' ||
|
||||
addedNodes[0].style.cssText === 'pointer-events: auto; position: relative; z-index: 0;') &&
|
||||
(addedNodes[0].style.cssText === 'pointer-events: auto; position: relative; z-index: 0;' ||
|
||||
addedNodes[0].style.cssText === 'pointer-events: auto; position: relative; z-index: 1;' ||
|
||||
addedNodes[0].style.cssText === 'pointer-events: auto; position: relative; z-index: 2;') &&
|
||||
document.querySelector('.notion-media-menu')
|
||||
)
|
||||
addIconsTab();
|
||||
|
Loading…
Reference in New Issue
Block a user