From 0a35d1839c7dfb4650e586c4ea5a84079201ac01 Mon Sep 17 00:00:00 2001 From: liufei Date: Sat, 29 Jan 2022 14:02:00 +0800 Subject: [PATCH] Add support for SVGAnimatedString --- plugins/auto-xhr.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/auto-xhr.js b/plugins/auto-xhr.js index b5de3326..3821eaa8 100644 --- a/plugins/auto-xhr.js +++ b/plugins/auto-xhr.js @@ -1352,6 +1352,7 @@ // but does not return a string url = node.src || (typeof node.getAttribute === "function" && node.getAttribute("xlink:href")) || + (node.href instanceof SVGAnimatedString && node.href.baseVal) || node.href; // we get called from src/href attribute changes but also from nodes being added