No more HTTP-only embeds.

This commit is contained in:
ccd0 2017-07-15 01:27:41 -07:00
parent db1f62800b
commit 15e5d5a0a1

View File

@ -55,7 +55,6 @@ Embedding =
embed: (data) ->
{key, uid, options, link, post} = data
{href} = link
return if Embedding.types[key].httpOnly and location.protocol isnt 'http:'
$.addClass link, key.toLowerCase()