Committer: vvasin
LJSUP-14375: Replace google button in the lj-like. Fix attributes reading.U trunk/htdocs/js/livejournal.js
Modified: trunk/htdocs/js/livejournal.js =================================================================== --- trunk/htdocs/js/livejournal.js 2012-11-27 07:58:57 UTC (rev 23368) +++ trunk/htdocs/js/livejournal.js 2012-11-27 08:01:34 UTC (rev 23369) @@ -541,7 +541,7 @@ // gapi could throw errors try { - window.gapi.plusone.render( button, { size: button.size, href: button.href } ); + window.gapi.plusone.render( button, { size: $button.attr('size'), href: $button.attr('href') } ); } catch (e) { console.warn(e.message); }