Show tooltip for second action.

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Ivan Sein 2017-04-27 18:11:35 +02:00
parent 31c762aebf
commit 9c4275a832
1 changed files with 3 additions and 1 deletions

View File

@ -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;
},