collective / sc.social.like

Social: Like Actions is a Plone package (add-on) providing simple Google+, Twitter and Facebook integration for Plone Content Types.
7 stars 23 forks source link

FB icon should not be rendered or shown when required FB data is missing #193

Open Rudd-O opened 2 years ago

Rudd-O commented 2 years ago

Right now SC.social renders the FB icon in the viewlet even when the FB data is not present, causing the HTML item to appear even though its innards are empty. The icon wrapper should not be rendered at all, if it can't be rendered, especially if the icon itself within the wrapper is not gonna be rendered at all..