function handleContentLoadWithAjax(){jQuery(".loadMyContentWithAjax").each(function(n,t){var a=$(t).data("content-url");jQuery.ajax({url:a,dataType:"html",success:function(n){jQuery(t).html(n)}})})}jQuery(document).ready(function(){handleContentLoadWithAjax(),jQuery(".map").length&&jQuery(".map").on("click",".leaflet-marker-icon",function(){handleContentLoadWithAjax()})});