mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: do not track mailto links
This commit is contained in:
parent
e36d45373f
commit
b1d6e2307f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export default {
|
|||
topicId = $('#topic').data('topic-id'),
|
||||
userId = $link.data('user-id');
|
||||
|
||||
if (!href || href.trim().length === 0) { return; }
|
||||
if (!href || href.trim().length === 0 || href.indexOf("mailto:") === 0) { return; }
|
||||
|
||||
if (!userId) userId = $article.data('user-id');
|
||||
|
||||
|
|
Loading…
Reference in a new issue