Skip to content

Commit

Permalink
Link now opens in a new window/tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Adi Eyal authored and milafrerichs committed Nov 23, 2020
1 parent 8f74c9d commit 0709a80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/profile/indicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export class Indicator extends Observable {
let ele = $('<a></a>');
$(ele).text(indicatorData.metadata.source);
$(ele).attr('href', indicatorData.metadata.url);
$(ele).attr('target', '_blank');
$(sourceClass, indicator).html(ele);
} else {
$(sourceClass, indicator).text(indicatorData.metadata.source);
Expand Down

0 comments on commit 0709a80

Please sign in to comment.