summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-23 11:58:43 +0300
committerAndrew Dolgov <[email protected]>2010-11-23 11:58:43 +0300
commit4a529b592a35a31362063b0d80ebb41b6c36657a (patch)
treed6a36857d31ef85a7f14a1bd99781b4fa44ce29e /viewfeed.js
parentda4fb53f55fbd34d3387f6aa64f8da8a2b366f0e (diff)
properly enable tweet buttons on infloaded headlines
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index fbcba1489..7fe83b42e 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -143,6 +143,10 @@ function headlines_callback2(transport, feed_cur_page) {
c.attr('content', c.attr('content') +
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);
for (var i = 0; i < ids.length; i++) {