Change initial tab in the share modal

This commit is contained in:
yflory
2019-11-29 16:47:18 +01:00
parent 71d2f8388d
commit e35b1712c3
2 changed files with 12 additions and 8 deletions

View File

@@ -1185,13 +1185,15 @@ define([
// Create modal
var tabs = [{
title: Messages.share_linkCategory,
icon: "fa fa-link",
content: frameLink
}, {
title: Messages.share_contactCategory,
icon: "fa fa-address-book",
content: frameContacts
content: frameContacts,
active: hasFriends
}, {
title: Messages.share_linkCategory,
icon: "fa fa-link",
content: frameLink,
active: !hasFriends
}, {
title: Messages.share_embedCategory,
icon: "fa fa-code",