Wikia/mercury — pull request #420 by nandy-andy (2014-12-01 15:08:36+00:00)
Title: HG-331 Fix for clicking a link in figcaption defect

`figcaption` element had set `pointer-events` to `none` which resulted in `target` always equaled `figure` in our click event handler. Because of it clicking links in captions didn't work and always opened a media in lightbox.

Changes below removes the unpleasant CSS rule for `figcaption` :japanese_ogre: I also extracted a condition's logic to separate method just for better readability.