mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-28 15:03:58 -04: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'),
|
topicId = $('#topic').data('topic-id'),
|
||||||
userId = $link.data('user-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');
|
if (!userId) userId = $article.data('user-id');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue