1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-23 21:15:49 +02:00

Ignore notifications with 0 characters

This commit is contained in:
chylex 2016-04-16 03:03:48 +02:00
parent 3c43211b25
commit 5597d2aed0

View File

@ -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()
};
//