diff options
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r--[-rwxr-xr-x] | addons/website/static/src/img/snippets_thumbs/s_share.png | bin | 1189 -> 612 bytes | |||
| -rw-r--r-- | addons/website/static/src/js/content/snippets.animation.js | 4 |
2 files changed, 1 insertions, 3 deletions
diff --git a/addons/website/static/src/img/snippets_thumbs/s_share.png b/addons/website/static/src/img/snippets_thumbs/s_share.png Binary files differindex b1a7431d0b1..3ace714f8b8 100755..100644 --- a/addons/website/static/src/img/snippets_thumbs/s_share.png +++ b/addons/website/static/src/img/snippets_thumbs/s_share.png diff --git a/addons/website/static/src/js/content/snippets.animation.js b/addons/website/static/src/js/content/snippets.animation.js index 7acb36d284b..9a7b4ee8c14 100644 --- a/addons/website/static/src/js/content/snippets.animation.js +++ b/addons/website/static/src/js/content/snippets.animation.js @@ -997,7 +997,6 @@ registry.socialShare = publicWidget.Widget.extend({ this.$('.oe_social_facebook').click($.proxy(this._renderSocial, this, 'facebook')); this.$('.oe_social_twitter').click($.proxy(this._renderSocial, this, 'twitter')); this.$('.oe_social_linkedin').click($.proxy(this._renderSocial, this, 'linkedin')); - this.$('.oe_social_google-plus').click($.proxy(this._renderSocial, this, 'google-plus')); }, /** * @private @@ -1033,7 +1032,6 @@ registry.socialShare = publicWidget.Widget.extend({ 'facebook': 'https://www.facebook.com/sharer/sharer.php?u=' + url, 'twitter': 'https://twitter.com/intent/tweet?original_referer=' + url + '&text=' + encodeURIComponent(title + hashtags + ' - ') + url, 'linkedin': 'https://www.linkedin.com/shareArticle?mini=true&url=' + url + '&title=' + encodeURIComponent(title), - 'google-plus': 'https://plus.google.com/share?url=' + url, }; if (!_.contains(_.keys(socialNetworks), social)) { return; @@ -1055,7 +1053,7 @@ registry.socialShare = publicWidget.Widget.extend({ */ _onMouseEnter: function () { var social = this.$el.data('social'); - this.socialList = social ? social.split(',') : ['facebook', 'twitter', 'linkedin', 'google-plus']; + this.socialList = social ? social.split(',') : ['facebook', 'twitter', 'linkedin']; this.hashtags = this.$el.data('hashtags') || ''; this._render(); |
