Skip to content

Commit

Permalink
Explicitly add _blank and noreferrer
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte committed Jul 12, 2023
1 parent 3d27d65 commit d90d4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/slowzones/charts/LineSegments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const LineSegments: React.FC<LineSegmentsProps> = ({
from: stations.fromStopIds?.[0],
};
const params = new URLSearchParams(queryParams);
window.open(`${hrefPathname}?${params.toString()}`);
window.open(`${hrefPathname}?${params.toString()}`, '_blank', 'noreferrer');
}
},
onHover: (event, elements) => {
Expand Down

0 comments on commit d90d4cb

Please sign in to comment.