summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-18 08:34:08 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-25 20:47:17 +0200
commitecd408d5241881842af230b79dddcc135e308dcf (patch)
treebc85197c9f2501196dbddec17f312b6ec172fe79 /core
parent2c2e1f7988df795d8f85a3003f84fa646c701380 (diff)
downloadnextcloud-server-ecd408d5241881842af230b79dddcc135e308dcf.tar.gz
nextcloud-server-ecd408d5241881842af230b79dddcc135e308dcf.zip
Fix icon of second action
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core')
-rw-r--r--core/js/contactsmenu.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/js/contactsmenu.js b/core/js/contactsmenu.js
index 2e33b5e7c64..cad98c5d026 100644
--- a/core/js/contactsmenu.js
+++ b/core/js/contactsmenu.js
@@ -62,6 +62,11 @@
+ ' <img src="{{contact.topAction.icon}}">'
+ '</a>'
+ '{{/if}}'
+ + '{{#if contact.hasTwoActions}}'
+ + '<a class="second-action" href="{{contact.secondAction.hyperlink}}">'
+ + ' <img src="{{contact.secondAction.icon}}">'
+ + '</a>'
+ + '{{/if}}'
+ '{{#if contact.hasManyActions}}'
+ ' <span class="other-actions icon-more"></span>'
+ ' <div class="menu popovermenu">'
@@ -76,9 +81,6 @@
+ ' {{/each}}'
+ ' </ul>'
+ ' </div>'
- + '{{/if}}'
- + '{{#if contact.hasTwoActions}}'
- + '<a class="second-action {{contact.secondAction.icon}}" href="{{contact.secondAction.hyperlink}}"></a>'
+ '{{/if}}';
/**