Fix catalog removal for embeds in clones.
This commit is contained in:
parent
3bd568d8de
commit
e39560da01
@ -24,7 +24,7 @@ Embedding =
|
|||||||
events: (post) ->
|
events: (post) ->
|
||||||
if Conf['Embedding']
|
if Conf['Embedding']
|
||||||
i = 0
|
i = 0
|
||||||
items = $$ '.embedder', post.nodes.comment
|
items = post.nodes.embedlinks = $$ '.embedder', post.nodes.comment
|
||||||
while el = items[i++]
|
while el = items[i++]
|
||||||
$.on el, 'click', Embedding.cb.click
|
$.on el, 'click', Embedding.cb.click
|
||||||
Embedding.cb.toggle.call el if $.hasClass el, 'embedded'
|
Embedding.cb.toggle.call el if $.hasClass el, 'embedded'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user