mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-19 19:19:03 +00:00
global linking blocks: fix wrong appending
This commit is contained in:
parent
2245f8ccdd
commit
154cff8b1a
@ -151,6 +151,7 @@ module.exports = {
|
|||||||
(div) => lang.some((text) => div.textContent === text));
|
(div) => lang.some((text) => div.textContent === text));
|
||||||
}
|
}
|
||||||
if (x$.sel(`.${blockClass}`) !== null ||
|
if (x$.sel(`.${blockClass}`) !== null ||
|
||||||
|
x$.sel('.notion-selectable-halo') === null ||
|
||||||
getLinkButton() === undefined) return;
|
getLinkButton() === undefined) return;
|
||||||
blockButton(getLinkButton().closest('[role="button"]'));
|
blockButton(getLinkButton().closest('[role="button"]'));
|
||||||
}, x$.sel('.notion-overlay-container'), {
|
}, x$.sel('.notion-overlay-container'), {
|
||||||
|
Loading…
Reference in New Issue
Block a user