Skip to content

Commit

Permalink
Scorecard link opens in new tab (#269)
Browse files Browse the repository at this point in the history
Missed it in
#268
  • Loading branch information
Eric-Arellano authored Aug 2, 2024
1 parent ce6ced5 commit bfb791d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/scorecard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function generateScorecard(stats: CityStats): string {

let reformsLine = `Parking reforms ${stats.reforms}`;
if (stats.url) {
reformsLine += ` (<a class="external-link" title="view parking reform details" href="${stats.url}">details <i aria-hidden="true" class="fa-solid fa-arrow-right"></i></a>)`;
reformsLine += ` (<a class="external-link" title="view parking reform details" href="${stats.url}" target="_blank">details <i aria-hidden="true" class="fa-solid fa-arrow-right"></i></a>)`;
}
listEntries.push(reformsLine);

Expand Down

0 comments on commit bfb791d

Please sign in to comment.