tab icons correction

pull/1/head
David Benqué 5 years ago
parent 8a11cf9b38
commit fae0a930e3

@ -192,7 +192,7 @@ define([
var content = h('div.alertify-tabs-content', tab.content); var content = h('div.alertify-tabs-content', tab.content);
var title = h('span.alertify-tabs-title', tab.title); var title = h('span.alertify-tabs-title', tab.title);
if (tab.icon) { if (tab.icon) {
var icon = h('i', {class: 'fa ' + tab.icon}); var icon = h('i', {class: tab.icon});
$(title).prepend(' ').prepend(icon); $(title).prepend(' ').prepend(icon);
}; };
$(title).click(function () { $(title).click(function () {

@ -1202,15 +1202,15 @@ define([
// Create modal // Create modal
var tabs = [{ var tabs = [{
title: Messages.share_linkCategory, title: Messages.share_linkCategory,
icon: "fa-link", icon: "fa fa-link",
content: frameLink content: frameLink
}, { }, {
title: Messages.share_contactCategory, title: Messages.share_contactCategory,
icon: "fa-address-book", icon: "fa fa-address-book",
content: frameContacts content: frameContacts
}, { }, {
title: Messages.share_embedCategory, title: Messages.share_embedCategory,
icon: "fa-code", icon: "fa fa-code",
content: frameEmbed content: frameEmbed
}]; }];
if (typeof(AppConfig.customizeShareOptions) === 'function') { if (typeof(AppConfig.customizeShareOptions) === 'function') {

Loading…
Cancel
Save