Fix catalog removal for embeds in clones.

This commit is contained in:
ccd0 2016-11-26 18:16:46 -08:00
parent 3bd568d8de
commit e39560da01

View File

@ -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'