Skip to content
Permalink
Browse files

[FIX] website_blog: restore sharing feature

Broken by renaming mistake of
6d67ce5
  • Loading branch information...
qsm-odoo committed Mar 19, 2019
1 parent 6faf9b7 commit 3bfdc588999804678f45aecea41509e8dc97ad12
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/website_blog/static/src/js/website_blog.js
@@ -98,7 +98,7 @@ sAnimations.registry.websiteBlog = sAnimations.Class.extend({
url = 'https://plus.google.com/share?url=' + window.location.href;
}
} else {
var blogPost = $element.parents('[name="blogPost"]');
var blogPost = $element.parents('[name="blog_post"]');
var blogPostTitle = blogPost.find('.o_blog_post_title').html() || '';
var blogArticleLink = blogPost.find('.o_blog_post_title').parent('a').attr('href');
if ($element.hasClass('o_twitter')) {

0 comments on commit 3bfdc58

Please sign in to comment.
You can’t perform that action at this time.