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

Update timeline-polls plugin to work better with recent TweetDeck update

This commit is contained in:
chylex 2017-06-23 22:01:54 +02:00
parent 28eb7d0810
commit 5dc2e71976

View File

@ -31,7 +31,13 @@ enabled(){
(ele || (ele = $(html))).find(".js-quoted-tweet-text").first().after(renderTweetPoll(tweet.quotedTweet)); (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 // hooks