/*
*      2J Photo Gallery
*      Version: 1.0.0
*      By 2JTeam
*      Contact: http://2joomla.net
*      Licensed under the GPLv3 license - https://opensource.org/licenses/gpl-3.0.html
*      Copyright (c) 201, 2JTeam. All rights reserved.
*/


(function($) {

 	$('.twoj_photo_gallery_wrap').each(function(index, el) {
 		var options = {};
 		if( $(this).data('hidecaption')==1 ) options.hideCaption = 1;
 		var id = $( this).attr('id');
 		$('#'+id+' a').swipebox(options);	
 	});
}(jQuery));
