Skip to content

Commit

Permalink
open links in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
richja committed Apr 14, 2021
1 parent d43bee6 commit 2a59f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ getPoi().then(({ lokality, charity }) => {

const web = getCharityWeb(region);
if (web) {
const cardContent = "<br>🌍 <a href='" + web + "' alt='odkaz na web charity' title='odkaz na web charity'>" + web + "</a>";
const cardContent = "<br>🌍 <a href='" + web + "' target='_blank' alt='odkaz na web charity' title='odkaz na web charity'>" + web + "</a>";
card.getBody().innerHTML = cardContent
}

Expand Down

0 comments on commit 2a59f6a

Please sign in to comment.