fix twitter button not appearing in tabbed articles
This commit is contained in:
parent
b3009bcdde
commit
d99ebc2279
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue