summaryrefslogtreecommitdiffstats
path: root/core/js/contactsmenu.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/contactsmenu.js')
-rw-r--r--core/js/contactsmenu.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/contactsmenu.js b/core/js/contactsmenu.js
index 15c48887d20..9ce27509e8b 100644
--- a/core/js/contactsmenu.js
+++ b/core/js/contactsmenu.js
@@ -64,7 +64,7 @@
+ '</a>'
+ '{{/if}}'
+ '{{#if contact.hasTwoActions}}'
- + '<a class="second-action" href="{{contact.secondAction.hyperlink}}">'
+ + '<a class="second-action" href="{{contact.secondAction.hyperlink}}" title="{{contact.secondAction.title}}">'
+ ' <img src="{{contact.secondAction.icon}}">'
+ '</a>'
+ '{{/if}}'
@@ -228,6 +228,8 @@
// Show tooltip for top action
this.$('.top-action').tooltip({placement: 'left'});
+ // Show tooltip for second action
+ this.$('.second-action').tooltip({placement: 'left'});
return this;
},