FIX: do not track mailto links

This commit is contained in:
Arpit Jalan 2016-04-30 15:32:35 +05:30
parent e36d45373f
commit b1d6e2307f

View file

@ -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');