Fix bug in lightbox with customclass
Merge pull request #1030 from lonelyplanet/jesus/lightbox-fix

Fix bug in lightbox with customClass