Fix auto-embed on non-JSON-generated posts.

This commit is contained in:
ccd0 2016-11-26 00:26:00 -08:00
parent de17bbf43e
commit b315a08122

View File

@ -63,6 +63,7 @@ Embedding =
$.off d, 'PostsInserted', autoEmbed
Embedding.cb.toggle.call embed
$.on d, 'PostsInserted', autoEmbed
autoEmbed()
ready: ->
return if !Main.isThisPageLegit()