diff options
| author | ajay javiya (OpenERP) <aja@tinyerp.com> | 2014-03-21 11:24:28 +0530 |
|---|---|---|
| committer | ajay javiya (OpenERP) <aja@tinyerp.com> | 2014-03-21 11:24:28 +0530 |
| commit | 7e4d71f6fa0214d13ebf4f2bc4b9cbb8b6fafe19 (patch) | |
| tree | 3d983410dd02ae0b4c548740af3b6e0d81230757 | |
| parent | 48db08b6ee9dc8ba1da8d69f438ca51949a1046a (diff) | |
[FIX] : only blog post titles and content can be tweet , not footer content
bzr revid: aja@tinyerp.com-20140321055428-7chzxnw6csntjs0q
| -rw-r--r-- | addons/website_blog/static/src/js/website_blog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_blog/static/src/js/website_blog.js b/addons/website_blog/static/src/js/website_blog.js index cdf94f1c4ad..4ab6e3c8d6a 100644 --- a/addons/website_blog/static/src/js/website_blog.js +++ b/addons/website_blog/static/src/js/website_blog.js @@ -43,7 +43,7 @@ $(document).ready(function() { $('#discussions_wrapper').empty(); new openerp.website.blog_discussion({'content' : content}); } - if (share) $("p,h1,h2,h3,h4,ul").share({'author_name':$('#blog_author').text()}); + if (share) $("h1, h2, h3, h4, ul, p","#blog_content ,.blog_title").share({'author_name':$('#blog_author').text()}); }); $('.cover_footer').on('click',page_transist); $('a[href^="#blog_content"]').on('click', animate); |
