mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-20 03:15:47 +02:00
Update timeline-polls plugin to work better with recent TweetDeck update
This commit is contained in:
parent
28eb7d0810
commit
5dc2e71976
@ -31,7 +31,13 @@ enabled(){
|
||||
(ele || (ele = $(html))).find(".js-quoted-tweet-text").first().after(renderTweetPoll(tweet.quotedTweet));
|
||||
}
|
||||
|
||||
return ele ? ele.prop("outerHTML") : html;
|
||||
if (ele){
|
||||
ele.find(".js-card-container").css("display", "none");
|
||||
return ele.prop("outerHTML");
|
||||
}
|
||||
else{
|
||||
return html;
|
||||
}
|
||||
};
|
||||
|
||||
// hooks
|
||||
|
Loading…
Reference in New Issue
Block a user