From dd0d0f6bcffe6939bd1f78cdea871c6b52b9c9ab Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Fri, 30 Sep 2022 08:03:13 -0700 Subject: [PATCH] fix(tests): revert change in marker_svg to keep keyboard nav tests working (#6457) --- core/renderers/common/marker_svg.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/renderers/common/marker_svg.ts b/core/renderers/common/marker_svg.ts index f83abd82830..67e4fdb8a5b 100644 --- a/core/renderers/common/marker_svg.ts +++ b/core/renderers/common/marker_svg.ts @@ -181,7 +181,8 @@ export class MarkerSvg { // Ensures the marker will be visible immediately after the move. const animate = this.currentMarkerSvg!.childNodes[0]; if (animate !== undefined) { - animate instanceof SVGAnimationElement && animate.beginElement(); + (animate as SVGAnimationElement).beginElement && + (animate as SVGAnimationElement).beginElement(); } }