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:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-03-07 10:58:12 +0300
committerGitHub <noreply@github.com>2017-03-07 10:58:12 +0300
commit0980a385f7ef90e170a526f810c23061d4f33c5f (patch)
tree1e06d3c3499996efc14df04884a56bf2dd78f9c6
parenta6ccd77f34c6dfb8f84717fef4966e01e6184db9 (diff)
parentce19af73da24c418859a9651b7e0f2a523238b89 (diff)
Merge pull request #3 from nextcloud/add-gplus
add share on google+ button
-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);
})();