diff --git a/viewfeed.js b/viewfeed.js index f9384fc17..fbcba1489 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1734,6 +1734,9 @@ function zoomToArticle(event, id) { dijit.byId("content-tabs").addChild(article_pane); + $$("#ATAB-"+id+" a.twitter-share-button").each( + function(btn) { var tbtn = new twttr.TweetButton(btn); tbtn.render(); }); + if (!event || !event.shiftKey) dijit.byId("content-tabs").selectChild(article_pane); @@ -1765,6 +1768,10 @@ function zoomToArticle(event, id) { dijit.byId("content-tabs").addChild(article_pane); + $$("#ATAB-"+id+" a.twitter-share-button").each( + function(btn) { var tbtn = new twttr.TweetButton(btn); + tbtn.render(); }); + if (!event || !event.shiftKey) dijit.byId("content-tabs").selectChild(article_pane);