From e39560da015f3d8d3d31aca06cf51dad02d5c490 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 26 Nov 2016 18:16:46 -0800 Subject: [PATCH] Fix catalog removal for embeds in clones. --- src/Linkification/Embedding.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Linkification/Embedding.coffee b/src/Linkification/Embedding.coffee index fff90c224..ad575a810 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -24,7 +24,7 @@ Embedding = events: (post) -> if Conf['Embedding'] i = 0 - items = $$ '.embedder', post.nodes.comment + items = post.nodes.embedlinks = $$ '.embedder', post.nodes.comment while el = items[i++] $.on el, 'click', Embedding.cb.click Embedding.cb.toggle.call el if $.hasClass el, 'embedded'