diff --git a/www/plugins/es/templates/registry/view_record.html b/www/plugins/es/templates/registry/view_record.html
index 353ddcbf106a299ead347b5f6d00635ce4d83c7b..94327f3b07fcf7717160503ccb18c3f02ad3581e 100644
--- a/www/plugins/es/templates/registry/view_record.html
+++ b/www/plugins/es/templates/registry/view_record.html
@@ -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>