Файловый менеджер - Редактировать - /home/kunzqhe/www/wp-content/themes/themify-ultra/themify/js/modules/tf_wow.min.js
Назад
'use strict';(function(d){let e=!1;const f=function(){if(!1===e){e=!0;const b=this.style.animationName,a=this.getAttribute("data-tf-animation_hover");b&&(this.style.animationIterationCount=this.style.animationDelay=this.style.animationName="",this.classList.remove(b));this.addEventListener("animationend",function(a){this.classList.remove("animated","tb_hover_animate",a.animationName);this.style.animationName="";e=!1},{passive:!0,once:!0});this.style.animationName=a;this.classList.add("animated","tb_hover_animate", a)}},h=function(b){const a=[d.isTouch?"touchstart":"mouseenter","tf_custom_animate"];for(let c=a.length-1;-1<c;--c)b.removeEventListener(a[c],f,{passive:!0}),b.addEventListener(a[c],f,{passive:!0})},k=function(b){d.imagesLoad(b,function(a){a=a.elements[0];a.style.visibility="visible";if(a.hasAttribute("data-tf-animation")){a.hasAttribute("data-tf-animation_repeat")&&(a.style.animationIterationCount=a.getAttribute("data-tf-animation_repeat"));a.hasAttribute("data-tf-animation_delay")&&(a.style.animationDelay= a.getAttribute("data-tf-animation_delay")+"s");const b=a.getAttribute("data-tf-animation");a.classList.add(b);a.style.animationName=b;a.addEventListener("animationend",function(){this.style.animationIterationCount=this.style.animationDelay="";this.classList.remove("animated",b);this.removeAttribute("data-tf-animation")},{passive:!0,once:!0});a.classList.add("animated")}a.classList.contains("hover-wow")&&h(a)})},l=new IntersectionObserver(function(b,a){for(let c=b.length-1;-1<c;--c)!0===b[c].isIntersecting&& (a.unobserve(b[c].target),k(b[c].target))},{threshold:.01}),g=function(b){b instanceof jQuery&&(b=b.get());for(let a=b.length-1;-1<a;--a)l.observe(b[a])};d.on("tf_wow_init",function(b){d.cssLazy.animate?g(b):d.loadAnimateCss(function(){g(b)})})})(Themify);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка