Файловый менеджер - Редактировать - /home/kunzqhe/photostocker/wp-content/themes/themify-ultra/themify/js/modules/wc-accordion-tabs.min.js
Назад
(($,o,n)=>{"use strict";const c=t=>{const c=t.target?.closest(".tf_wc_acc_title");if(c){t.preventDefault(),t.stopPropagation();const e=c.closest("li"),s=e.tfClass("tf_wc_acc_content")[0],a=e.classList;if(a.contains("active"))a.remove("active"),$(s).slideUp();else{const i=e.parentNode.tfClass("active")[0];i&&(i.classList.remove("active"),$(i.querySelector(".tf_wc_acc_content")).slideUp()),a.add("active"),$(s).slideDown()}o.trigger("tfsmartresize",{w:o.w,h:o.h}),$(n).triggerHandler("resize")}};o.on("tf_wc_acc_tabs_init",t=>{t.tfOff(o.click,c).tfOn(o.click,c)}),n.tfOn("hashchange",t=>{const c=n.location.hash.replace("#","");if(c){const e=document.querySelector(".tf_wc_acc_content #"+CSS.escape(c));if(e){const s=e.closest(".tf_wc_acc_content").closest("li");s.classList.contains("active")||o.triggerEvent(s.tfClass("tf_wc_acc_title")[0],o.click),o.scrollTo(s.getBoundingClientRect().top),n.location.hash="",n.history.replaceState("","",n.location.pathname)}}},{passive:!0})})(jQuery,Themify,window);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка