From fae0a930e3b3c12e2dcf1e157a4d518c7423cc78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Thu, 21 Nov 2019 13:03:40 +0000 Subject: [PATCH] tab icons correction --- www/common/common-interface.js | 2 +- www/common/common-ui-elements.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index 6cb4f4554..5eff5edcf 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -192,7 +192,7 @@ define([ var content = h('div.alertify-tabs-content', tab.content); var title = h('span.alertify-tabs-title', tab.title); if (tab.icon) { - var icon = h('i', {class: 'fa ' + tab.icon}); + var icon = h('i', {class: tab.icon}); $(title).prepend(' ').prepend(icon); }; $(title).click(function () { diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 0931980c2..2fe470d5e 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1202,15 +1202,15 @@ define([ // Create modal var tabs = [{ title: Messages.share_linkCategory, - icon: "fa-link", + icon: "fa fa-link", content: frameLink }, { title: Messages.share_contactCategory, - icon: "fa-address-book", + icon: "fa fa-address-book", content: frameContacts }, { title: Messages.share_embedCategory, - icon: "fa-code", + icon: "fa fa-code", content: frameEmbed }]; if (typeof(AppConfig.customizeShareOptions) === 'function') {