PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
cache
/
autoptimize
/
js
(function($){'use strict';$(document).ready(function($){$('.pbx-formfield label').on('click',function(){$(this).parent().find("input[name^='pbx']").focus();});$('.pbx-formfield label').on('click',function(){$(this).parent().find("textarea[name^='pbx']").focus();});$('.wn-prayer-request').click(function(event){event.preventDefault();var $this=$(this);$('.pbx-form').slideToggle('slow',function(){if($('.pbx-form').is(':visible')){$this.val(wnpw.close_praybox_button);}else{$this.val(wnpw.open_praybox_button);}});});$('.pbx-formfield input[type="text"], .pbx-formfield input[type="email"], .pbx-formfield textarea, .pbx-formfield label').on('click',function(){var $this=$(this).closest('.pbx-formfield').find('label');$this.css('margin-top','-20px');$(this).closest('.pbx-formfield').addClass('pbx-active');});$('.pbx-formfield input[type="text"], .pbx-formfield input[type="email"], .pbx-formfield textarea, .pbx-formfield label').focusout(function(event){var $this=$(this).closest('.pbx-formfield').find('label');if($(this).val()==''){$(this).closest('.pbx-formfield').removeClass('pbx-active');$this.css('margin-top','0px');}else{$this.css('margin-top','-20px');}});$(".wnpw-submit-form").on('click',function(e){e.preventDefault();var name=$('.wnpw-name').val();var last=$('.wnpw-last').val();var mail=$('.wnpw-mail').val();var title=$('.wnpw-title').val();var request=$('.wnpw-request').val();$.ajax({type:"POST",url:wnpw.adminurl,data:{action:'wnpwall',security:wnpw.security,name:name,last:last,mail:mail,title:title,request:request},success:function(data){setTimeout(function(){$('.wnpw-succ').css('display','block');},1000);},error:function(jqXHR,textStatus,errorThrown){setTimeout(function(){$('.wnpw-succ').css('display','block');$('.wnpw-succ').text('Please resubmit your pray.');},1000);}});});$(".wm-pray-request-button").on('click',function(event){event.preventDefault();var $this=$(this);$this.addClass('loading').text("Praying");var number=$this.data('num');var postid=$this.data('post');var num=number+1;$.ajax({type:"POST",url:wnpw.adminurl,data:{action:'wnpwprayed',security:wnpw.security,post_id:postid,number:num},success:function(data){setTimeout(function(){$this.removeClass('loading').text("I PRAYED FOR THIS");$this.closest('.wm-prayer-inner').find('.wn-prayer-cont').text(number+1);$this.data('num',number+1);},1000);},error:function(jqXHR,textStatus,errorThrown){setTimeout(function(){$this.removeClass('loading').text("Pray For This");},1000);}});});});})(jQuery);
[+]
..
[-] autoptimize_snippet_2dce40d16f9ff6332d3cbb7ae488a2b9.js
[edit]
[-] autoptimize_snippet_3d6b92ec5aff7cd24186974db3757400.js
[edit]
[-] index.html
[edit]
[-] autoptimize_snippet_1e25707220e95e3ebf632ac9c6436d48.js
[edit]
[-] autoptimize_snippet_e615d6f5851d9657f7ed6e24cc0bdb13.js
[edit]
[-] autoptimize_snippet_8939093b911fec2160314e95e5265f4e.js
[edit]
[-] autoptimize_snippet_cfb63dc18fde53fef4d4fdc19ddfdcd6.js
[edit]
[-] autoptimize_snippet_8e5863f6123994b1ce481ddbc7df3d06.js
[edit]
[-] autoptimize_snippet_1d476ef0a02dea95add5d5e192d6c89a.js
[edit]
[-] autoptimize_snippet_20794d708fb296a00f32357f44beaa8b.js
[edit]
[-] autoptimize_snippet_689a2a5f1b6d837efd85b866ba1a7a45.js
[edit]
[-] autoptimize_480fb65f5d0bb001191f888e74e4c840.js
[edit]
[-] autoptimize_snippet_7ec6d98279cb0b07d4216b87d0668761.js
[edit]
[-] autoptimize_snippet_7121994eec5320fbe6586463bf9651c2.js
[edit]
[-] autoptimize_snippet_11450ffaaa741ac0011f786e542080bb.js
[edit]
[-] autoptimize_snippet_9ce4e157448487d4efe0ca538f656a71.js
[edit]
[-] autoptimize_snippet_0eb7fb3be466db93e8d0ac1e006c1078.js
[edit]
[-] autoptimize_snippet_74350fa618215ad83e10a68004c7efef.js
[edit]
[-] autoptimize_snippet_f13c8d5d5b02cefea0127b39c8f4cd6b.js
[edit]
[-] autoptimize_snippet_d8540d893d389271b109d6732e37afba.js
[edit]
[-] autoptimize_snippet_2a4d04b49d4225da231ab81c9d0d3af1.js
[edit]
[-] autoptimize_snippet_f8a80ebc34599db45bc7a8ce4edbee5c.js
[edit]
[-] autoptimize_snippet_618f2e3ded155d6a4fba6a232d181d63.js
[edit]
[-] autoptimize_snippet_943f6eb962c25bd965e0f0e5a284fcd0.js
[edit]
[-] autoptimize_snippet_3f7161cf139d5a2c5e6d34e1c0026f9d.js
[edit]
[-] autoptimize_snippet_9d22f9409c43e4abec30c88531a5c5df.js
[edit]
[-] autoptimize_snippet_3c405496965f030808b82c30ca0df641.js
[edit]
[-] autoptimize_1ac580f90bfd892083e6a33bf0cad570.js
[edit]
[-] autoptimize_snippet_a5a1bfcbe64e5d92a029110590b6cb5d.js
[edit]
[-] autoptimize_snippet_836196ea33182b6c18884e9fca03f2ee.js
[edit]
[-] autoptimize_snippet_f7ac4bf72512e34c69fe84c8c89183f7.js
[edit]
[-] autoptimize_snippet_667085568f6d03d02e620d9e76ae36cf.js
[edit]
[-] autoptimize_snippet_4139854e7cec2bc66110f4d4879bd129.js
[edit]
[-] autoptimize_snippet_81b2be18696c4dfe620f7b6d0d75a566.js
[edit]
[-] autoptimize_snippet_1260babe26721c4e545d381f6c07b651.js
[edit]
[-] autoptimize_snippet_3af706c279ece056a8159b2440ac6aeb.js
[edit]