mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-21 15:15:48 +02:00
Fix broken pop-up notifications
This commit is contained in:
parent
16180fd5d6
commit
f9f0677da3
@ -127,16 +127,16 @@
|
||||
var html = $(tweet.outerHTML);
|
||||
var body = html.find(".tweet-body").first();
|
||||
|
||||
if (html.find(".icon-reply").length > 0){
|
||||
return; // ignore sent messages
|
||||
}
|
||||
|
||||
body.children("div.js-quote-detail").each(function(){
|
||||
$(this).html("(quoted tweet)");
|
||||
});
|
||||
|
||||
body.children().not("p,span,div.js-quote-detail").remove();
|
||||
|
||||
if (html.find(".icon-reply").length > 0){
|
||||
return; // ignore sent messages
|
||||
}
|
||||
|
||||
var characters = html.find(".js-tweet-text:first").text().length;
|
||||
if (characters == 0)return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user