( function( api ) {

	// Extends our custom "photo-gallery" section.
	api.sectionConstructor['photo-gallery'] = api.Section.extend( {

		// No events for this type of section.
		attachEvents: function () {},

		// Always make the section active.
		isContextuallyActive: function () {
			return true;
		}
	} );

} )( wp.customize );