1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-26 07:41:29 +00:00

fix twitter button not appearing in tabbed articles

This commit is contained in:
Andrew Dolgov
2010-11-22 18:21:20 +03:00
parent b3009bcdde
commit d99ebc2279

View File

@@ -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);