From be76d9a6dc627a9216b4e58fc524e09544846b2e Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Wed, 29 Mar 2017 15:08:20 +0200 Subject: [PATCH] Fix not removing date when screenshotting tweets with location data present --- Resources/Scripts/code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index c21e6755..26d72bb6 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -310,7 +310,7 @@ setImportantProperty(selectedTweet.find(".js-tweet-media"), "margin-bottom", "0"); selectedTweet.find(".js-translate-call-to-action").first().remove(); selectedTweet.find(".js-tweet").first().nextAll().remove(); - selectedTweet.find("footer").last().prev().addBack().remove(); // footer & date + selectedTweet.find("footer").last().prevUntil(":not(.txt-mute.txt-small)").addBack().remove(); // footer, date, location } else{ selectedTweet.find("footer").last().remove();