From 1ebf3c9af27b99d5412dc4d578c47af2b560db6d Mon Sep 17 00:00:00 2001
From: chylex <contact@chylex.com>
Date: Sat, 25 Mar 2017 01:55:47 +0100
Subject: [PATCH] Fix media previews showing up in quoted tweet notifications

---
 Resources/Scripts/code.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js
index f18f37f3..c21e6755 100644
--- a/Resources/Scripts/code.js
+++ b/Resources/Scripts/code.js
@@ -55,6 +55,7 @@
       
       html.css("border", "0");
       html.find("footer").last().remove(); // apparently withTweetActions breaks for certain tweets, nice
+      html.find(".js-media").last().remove(); // and quoted tweets still show media previews, nice nice
       html.find(".js-quote-detail").removeClass("is-actionable");
       
       var url = html.find("time").first().children("a").first().attr("href") || "";