diff --git a/src/main/dda/masto_embed/account_mode.cljs b/src/main/dda/masto_embed/account_mode.cljs index afe3ee9..ee494ca 100644 --- a/src/main/dda/masto_embed/account_mode.cljs +++ b/src/main/dda/masto_embed/account_mode.cljs @@ -94,8 +94,7 @@ (= (:type item) :element) (= class (:class (:attrs item)))])] (if condition - (let [content (:content item)] - (assoc-in item [:content] insertion-element)) + (assoc-in item [:content] insertion-element) item))) (defn masto-media->html [html media_attachments]