mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-11 19:04:30 +00:00
doh
This commit is contained in:
@@ -103,8 +103,6 @@ const app = {
|
||||
const a = findAnchor(event.target);
|
||||
if (!a) return;
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
// check if link is inside an svg
|
||||
// in this case, both href and target are always inside an object
|
||||
const svg = typeof a.href === 'object' && a.href.constructor.name === 'SVGAnimatedString';
|
||||
|
||||
Reference in New Issue
Block a user