mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Merge pull request #7893 from JeeZeh/note_links_new_tab
Open external links in OSM notes in a new tab
This commit is contained in:
@@ -68,7 +68,10 @@ export function uiNoteComments() {
|
||||
mainEnter
|
||||
.append('div')
|
||||
.attr('class', 'comment-text')
|
||||
.html(function(d) { return d.html; });
|
||||
.html(function(d) { return d.html; })
|
||||
.selectAll('a')
|
||||
.attr('rel', 'noopener nofollow')
|
||||
.attr('target', '_blank');
|
||||
|
||||
comments
|
||||
.call(replaceAvatars);
|
||||
|
||||
Reference in New Issue
Block a user