properly enable tweet buttons on infloaded headlines

This commit is contained in:
Andrew Dolgov 2010-11-23 11:58:43 +03:00
parent da4fb53f55
commit 4a529b592a
1 changed files with 4 additions and 0 deletions

View File

@ -143,6 +143,10 @@ function headlines_callback2(transport, feed_cur_page) {
c.attr('content', c.attr('content') + c.attr('content', c.attr('content') +
headlines_content.firstChild.nodeValue); headlines_content.firstChild.nodeValue);
$$("#headlines-frame a.twitter-share-button").each(
function(btn) { var tbtn = new twttr.TweetButton(btn);
tbtn.render(); });
console.log("restore selected ids: " + ids); console.log("restore selected ids: " + ids);
for (var i = 0; i < ids.length; i++) { for (var i = 0; i < ids.length; i++) {