Skip to content

Commit

Permalink
fix(tests): revert change in marker_svg to keep keyboard nav tests wo…
Browse files Browse the repository at this point in the history
…rking (#6457)
  • Loading branch information
rachel-fenichel authored Sep 30, 2022
1 parent 852e48a commit dd0d0f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/renderers/common/marker_svg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit dd0d0f6

Please sign in to comment.