kamilczujowski/least.js-2 — pull request #4 by motiteux (2014-03-07 16:51:10+00:00)
Title: Keep gallery if display within an active parent

If one of the parent of the gallery has an active class, then, when switching from another image on the thumbnails will "hide" the parent (and thus, the gallery).
For example, if the gallery is inside of a tab-pane from Bootstrap, the parent has the "active" class also removed, none of the other tab-pane are active and nothing is displayed

Solution: target .least-gallery li a.active only