[FIX] website: SEO js
authorRichard Mathot <rim@openerp.com>
Mon, 26 May 2014 07:43:01 +0000 (09:43 +0200)
committerRichard Mathot <rim@openerp.com>
Mon, 26 May 2014 07:43:01 +0000 (09:43 +0200)
addons/website/static/src/js/website.seo.js

index d2f4d79..1c4bad9 100644 (file)
             });
         },
         company: function () {
-            return $('body').attr('data-oe-company-name');
+            return $('html').attr('data-oe-company-name');
         },
         bodyText: function () {
             return $('body').children().not('.js_seo_configuration').text();