comments link: load in new tab

This commit is contained in:
Andrew Dolgov 2020-09-15 18:48:33 +03:00
parent 42b5564d1e
commit 3f9390c45f
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ const Article = {
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;