芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/timucuy.com/wp-content/plugins/wp-maintenance-mode/assets/js/scripts.min.js
jQuery(function(a){var t=a(".countdown");if(t.length>0){var n=new Date(t.data("end"));t.countdown({until:n,compact:!0,layout:'
{dn}
:
{hnn}
:
{mnn}
:
{snn}
'})}var s=a(".social");s.length>0&&(1==s.data("target")&&s.find("a").attr("target","_blank"));var c=a(".subscribe_form");if(c.length>0&&c.validate({submitHandler:function(t){var n="action=wpmm_add_subscriber&"+c.serialize();return a.post(wpmm_vars.ajax_url,n,function(t){if(!t.success)return alert(t.data),!1;a(".subscribe_wrapper").html(t.data)},"json"),!1}}),a(".contact").length>0){a("body").on("click",".contact_us",function(){var t=a(this).data("open"),n=a(this).data("close");a(".contact").fadeIn(700),a("."+t).addClass(n)});var e=a(".contact_form");e.validate({submitHandler:function(t){var n="action=wpmm_send_contact&"+e.serialize();return a.post(wpmm_vars.ajax_url,n,function(t){if(!t.success)return alert(t.data),!1;e.parent().append('
'+t.data+"
"),e.hide(),setTimeout(function(){a(".contact").hide(),e.parent().find(".response").remove(),e.trigger("reset"),e.show()},2e3)},"json"),!1}}),a(".close-contact_form").on("click",function(t){a(".contact").fadeOut(200)}),a("body").on("click",".contact",function(t){if(a(t.target).hasClass("contact")){var n=a(".contact_us").data("close");a(".form",a(this)).removeClass(n),a(this).fadeOut(200)}})}});