Add icons to retitled links even when Embedding is off.
This commit is contained in:
parent
8f0598ba28
commit
bd73d49fca
@ -95,6 +95,7 @@ Embedding =
|
|||||||
title: (data) ->
|
title: (data) ->
|
||||||
{key, uid, options, link, post} = data
|
{key, uid, options, link, post} = data
|
||||||
return unless service = Embedding.types[key].title
|
return unless service = Embedding.types[key].title
|
||||||
|
$.addClass link, key.toLowerCase()
|
||||||
if service.batchSize
|
if service.batchSize
|
||||||
(service.queue or= []).push data
|
(service.queue or= []).push data
|
||||||
if service.queue.length >= service.batchSize
|
if service.queue.length >= service.batchSize
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user