From 2c2e1f7988df795d8f85a3003f84fa646c701380 Mon Sep 17 00:00:00 2001
From: Christoph Wurst <christoph@winzerhof-wurst.at>
Date: Tue, 11 Apr 2017 09:09:45 +0200
Subject: Use absolute URI for action icons

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
---
 core/js/contactsmenu.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'core/js/contactsmenu.js')

diff --git a/core/js/contactsmenu.js b/core/js/contactsmenu.js
index bf469b8a321..2e33b5e7c64 100644
--- a/core/js/contactsmenu.js
+++ b/core/js/contactsmenu.js
@@ -58,7 +58,9 @@
 			+ '    <div class="last-message">{{contact.lastMessage}}</div>'
 			+ '</div>'
 			+ '{{#if contact.topAction}}'
-			+ '<a class="top-action {{contact.topAction.icon}}" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}"></a>'
+			+ '<a class="top-action" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}">'
+			+ '    <img src="{{contact.topAction.icon}}">'
+			+ '</a>'
 			+ '{{/if}}'
 			+ '{{#if contact.hasManyActions}}'
 			+ '    <span class="other-actions icon-more"></span>'
@@ -67,7 +69,7 @@
 			+ '            {{#each contact.actions}}'
 			+ '            <li>'
 			+ '                <a href="{{hyperlink}}">'
-			+ '                    <span class="{{icon}}"></span>'
+			+ '                    <img src="{{icon}}">'
 			+ '                    <span>{{title}}</span>'
 			+ '                </a>'
 			+ '            </li>'
-- 
cgit v1.2.3