From 5762cd94369acde40cdc40834f5df5f85150e8a3 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 3 Apr 2017 15:30:15 +0200 Subject: [PATCH] Use tooltop for contact's top action title Signed-off-by: Christoph Wurst --- core/js/contactsmenu.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/js/contactsmenu.js b/core/js/contactsmenu.js index 2991a0e84d..bf469b8a32 100644 --- a/core/js/contactsmenu.js +++ b/core/js/contactsmenu.js @@ -58,7 +58,7 @@ + '
{{contact.lastMessage}}
' + '' + '{{#if contact.topAction}}' - + '' + + '' + '{{/if}}' + '{{#if contact.hasManyActions}}' + ' ' @@ -221,6 +221,9 @@ // Show placeholder iff no avatar is available (avatar is rendered as img, not div) this.$('div.avatar').imageplaceholder(this._model.get('fullName')); + // Show tooltip for top action + this.$('.top-action').tooltip({placement: 'left'}); + return this; },