Automattic/jetpack — pull request #517 by rase- (2014-05-05 23:50:59+00:00)
Title: Tiled Gallery: No more carousel when it is off.

Carousel is no longer shown for Tiled Galleries when clicking a gallery item, when it is turned off in the Jetpack settings.

To accomplish this, we simply need to make the gallery container have the data-carousel-extra attribute only if carousel is found in the Jetpack active modules.