From 9ec1764194c978e25a0f77ad70c021ef0ad5fcd7 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Mon, 13 Mar 2017 23:38:50 +0100 Subject: [PATCH] Update tweet detail screenshot code to work with recent TweetDeck changes --- Resources/Scripts/code.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index 78c57377..f652b8a6 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -304,8 +304,8 @@ if (isDetail){ setImportantProperty(selectedTweet.find(".js-tweet-media"), "margin-bottom", "0"); selectedTweet.find(".js-translate-call-to-action").first().remove(); - selectedTweet.find(".js-cards-container").first().nextAll().remove(); - selectedTweet.find(".js-detail-view-inline").first().remove(); + selectedTweet.find(".js-tweet").first().nextAll().remove(); + selectedTweet.find("footer").last().prev().addBack().remove(); // footer & date } else{ selectedTweet.find("footer").last().remove();