// jQuery.leanModal2.min.js v2.3 - MIT Licensed by eustasy http://eustasy.org
(function($){function leanModal_Close(modal_id){$('.js-target-jquery-leanmodal-overlay').fadeOut(300);$(modal_id).fadeOut(200);}$.fn.extend({leanModal:function(options){var defaults={top:100,overlayOpacity:0.5,closeButton:false,disableCloseOnOverlayClick:false,disableCloseOnEscape:false,};options=$.extend(defaults,options);if($('.js-target-jquery-leanmodal-overlay').length==0){var style='background:#000;display:none;height:100%;left:0px;position:fixed;top:0px;width:100%;z-index:100;';var overlay=$('<div class="js-target-jquery-leanmodal-overlay" style="'+style+'"></div>');$('body').append(overlay);}return this.each(function(){$(this).css({'cursor':'pointer'});$(this).unbind('click').click(function(e){if($(this).attr('href')){var modal_id=$(this).attr('href');}else if($(this).attr('data-modal-id')){var modal_id=$(this).attr('data-modal-id');}else{return false;}$('.js-target-jquery-leanmodal-overlay').click(function(){if(!options.disableCloseOnOverlayClick){leanModal_Close(modal_id);}});if(options.closeButton){$(options.closeButton).click(function(){leanModal_Close(modal_id);});}$(document).on('keyup',function(evt){if(!options.disableCloseOnEscape&&evt.keyCode==27){leanModal_Close(modal_id);}});var modal_height=$(modal_id).innerHeight();var modal_width=$(modal_id).innerWidth();$(modal_id).css({'display':'block','position':'fixed','opacity':0,'z-index':11000,'left':50+'%','margin-left':-(modal_width/2)+'px','top':options.top+'px'});$('.js-target-jquery-leanmodal-overlay').css({'display':'block',opacity:0});$('.js-target-jquery-leanmodal-overlay').fadeTo(300,options.overlayOpacity);$(modal_id).fadeTo(200,1);e.preventDefault();});});}});})(jQuery);

Update project jQuery.leanModal2 to 2.3
Update project jQuery.leanModal2 to 2.3
