text: $(document).ready(function(){$("#contactForm").on("submit",function(e){if(console.log("HELLOW"),!e.isDefaultPrevented()){var t="user/themes/refuge-theme/phpmailer/email.php";return $.ajax({type:"POST",url:t,data:$(this).serialize(),success:function(e){console.log("SENT"),$("#contactForm").fadeOut(300).delay(3e3).fadeIn(600),setTimeout(function(){$("#contactForm")[0].reset(),$(".successMessage").addClass("visible")},300),setTimeout(function(){$(".successMessage").removeClass("visible"),$("#contactForm input").focusout()},2650);var t="alert-"+e.type,s=e.message,a='<div class="alert '+t+' alert-dismissable"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>'+s+"</div>";t&&s&&($("#contactForm").find(".messages").html(a),$("#contactForm")[0].reset())}}),!1}})});