nprapps / lunchbox

Image tools for social media sharing
http://blog.apps.npr.org/lunchbox/
MIT License
176 stars 145 forks source link

disable logo color buttons if img path does not exist #61

Closed bchartoff closed 9 years ago

bchartoff commented 9 years ago

Not sure if y'all need this use case, but we have a few logos w/ only 1 color palette. If either whitePath or blackPath is missing from the config, this adds the disabled class to the appropriate Logo Color button. Thanks, really enjoying this thing!

bchartoff commented 9 years ago

Blurg forgot to switch branches let me redo