From 43016f9de6ed0b49769c7f39b56ab11d839da154 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sat, 28 Jan 2017 16:29:11 -0500 Subject: [PATCH] remove the removed link card manually with jquery --- frontend/src/components/TopicCard/Attachments.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/TopicCard/Attachments.js b/frontend/src/components/TopicCard/Attachments.js index 2f29b53a..de7d1e39 100644 --- a/frontend/src/components/TopicCard/Attachments.js +++ b/frontend/src/components/TopicCard/Attachments.js @@ -71,6 +71,7 @@ class Attachments extends Component { embedlyLinkError: false }) this.props.updateTopic({ link: null }) + $('.embedly-card').remove() // failsafe } render = () => {