comments link: load in new tab
This commit is contained in:
parent
42b5564d1e
commit
3f9390c45f
|
@ -170,7 +170,7 @@ const Article = {
|
||||||
comments_msg = hl.num_comments + " " + ngettext("comment", "comments", hl.num_comments)
|
comments_msg = hl.num_comments + " " + ngettext("comment", "comments", hl.num_comments)
|
||||||
}
|
}
|
||||||
|
|
||||||
comments = `<a href="${App.escapeHtml(hl.comments ? hl.comments : hl.link)}">(${comments_msg})</a>`;
|
comments = `<a target="_blank" rel="noopener noreferrer" href="${App.escapeHtml(hl.comments ? hl.comments : hl.link)}">(${comments_msg})</a>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return comments;
|
return comments;
|
||||||
|
|
Loading…
Reference in New Issue