mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-08-25 23:35:16 +02:00
Update timeline-polls plugin to work better with recent TweetDeck update
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user