We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 461978c commit f43d606Copy full SHA for f43d606
packages/core/src/lavadome.mjs
@@ -19,7 +19,7 @@ import {distraction, loadable, hardened} from './element.mjs';
19
import {getShadow} from './shadow.mjs';
20
21
// text-fragments links can be abused to leak shadow internals - block in-app redirection to them
22
-navigation.addEventListener('navigate', event => {
+navigation?.addEventListener('navigate', event => {
23
const dest = url(destination(event));
24
if (includes(dest, ':~:')) {
25
preventDefault(event);
0 commit comments