From 470607af1aaca30e79e031be38fb7997ed7f78a8 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Wed, 27 Jun 2018 02:34:48 +0000 Subject: [PATCH] Display image typed embeds similar to attachments --- webapp/titanembeds/static/js/embed.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 26bc423..8a795f1 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -1111,6 +1111,12 @@ // continue; // } + if (disembed.type == "image") { + var img = ""; + emb.push(img); + continue; + } + disembed.isVideo = false; if (disembed.type == "video") { disembed.isVideo = true;