Commit 6af113ba authored by Benoit Lavenier's avatar Benoit Lavenier

fix link click when editing socials links

parent d8f431d5
......@@ -121,8 +121,7 @@
ng-class="{'ion-bookmark': social.type == 'other', 'ion-link': social.type == 'web', 'ion-email': social.type == 'email'}"></i>
<p ng-if="social.type && social.type != 'web'">{{social.type}}</p>
<h2>
<a href="{{social.url}}" ng-if="social.type != 'email'" target="_blank">{{social.url}}</a>
<a href="mailto:{{social.url}}" ng-if="social.type == 'email'">{{social.url}}</a>
<a ng-click="openLink($event, social.url, social.type)">{{social.url}}</a>
</h2>
</ion-item>
</ng-if>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment