Skip to content
Snippets Groups Projects
Commit 6af113ba authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

fix link click when editing socials links

parent d8f431d5
Branches
Tags
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment