diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-03-06 19:33:38 +0300 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2017-03-06 19:33:38 +0300 |
commit | ce19af73da24c418859a9651b7e0f2a523238b89 (patch) | |
tree | 1e06d3c3499996efc14df04884a56bf2dd78f9c6 | |
parent | a6ccd77f34c6dfb8f84717fef4966e01e6184db9 (diff) |
add share on google+ button
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
-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); })(); |