diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-03-07 10:58:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-07 10:58:12 +0300 |
commit | 0980a385f7ef90e170a526f810c23061d4f33c5f (patch) | |
tree | 1e06d3c3499996efc14df04884a56bf2dd78f9c6 | |
parent | a6ccd77f34c6dfb8f84717fef4966e01e6184db9 (diff) | |
parent | ce19af73da24c418859a9651b7e0f2a523238b89 (diff) |
Merge pull request #3 from nextcloud/add-gplus
add share on google+ button
-rw-r--r-- | js/socialsharingdefault.js | 8 |
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); })(); |