Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/socialsharing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-03-06 19:33:38 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2017-03-06 19:33:38 +0300
commitce19af73da24c418859a9651b7e0f2a523238b89 (patch)
tree1e06d3c3499996efc14df04884a56bf2dd78f9c6
parenta6ccd77f34c6dfb8f84717fef4966e01e6184db9 (diff)
add share on google+ button
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
-rw-r--r--js/socialsharingdefault.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/socialsharingdefault.js b/js/socialsharingdefault.js
index b31a03a..a3d0fc9 100644
--- a/js/socialsharingdefault.js
+++ b/js/socialsharingdefault.js
@@ -20,5 +20,11 @@
iconClass: 'icon-social-diaspora'
});
OC.Share.Social.Collection.add(diaspora);
-
+ var googleplus = new OC.Share.Social.Model({
+ key: 'googleplus',
+ url: 'https://plus.google.com/share?url={{reference}}',
+ name: 'Google+',
+ iconClass: 'icon-social-googleplus'
+ });
+ OC.Share.Social.Collection.add(googleplus);
})();