diff --git a/Resources/code.js b/Resources/code.js index 107b39fb..b1e70eeb 100644 --- a/Resources/code.js +++ b/Resources/code.js @@ -125,7 +125,10 @@ body.children().not("p,div.js-quote-detail").remove(); - $TD.onTweetPopup(html.html(),html.find(".js-tweet-text:first").text().length); // TODO column & remove pic links from text() + var characters = html.find(".js-tweet-text:first").text().length; + if (characters == 0)return; + + $TD.onTweetPopup(html.html(),characters); // TODO column & remove pic links from text() }; //