Файловый менеджер - Редактировать - /home/kunzqhe/photostocker/wp-content/themes/themify-ultra/themify/js/modules/themify.dropdown.min.js
Назад
(($,s,o)=>{"use strict";const r=(s,o)=>{const e=s.find(".sub-menu, .children").first(),t=s.find("> a .child-arrow");let i="open";!0===o?(e.css("visibility","visible").slideDown(),s.addClass("dropdown-open toggle-on"),t.removeClass("closed").addClass("open")):(e.slideUp(()=>{$(this).css("visibility","hidden")}),s.removeClass("dropdown-open toggle-on"),t.removeClass("open").addClass("closed"),i="close"),s.trigger("dropdown_"+i)};o.on("tf_dropdown_init",o=>{for(let s=(o=void 0===o.length?[o]:o).length-1;-1<s;--s)o[s].classList.contains("with-sub-arrow")||(o[s].className+=" with-sub-arrow")}),s.body.tfOn("click",s=>{const o=s.target?.closest(".child-arrow,.with-sub-arrow a");if(o&&o.closest(".with-sub-arrow")){const e=o.classList.contains("child-arrow")?"":o.getAttribute("href");if(!e||"#"===e){s.stopPropagation(),s.preventDefault();const t=$(o),i=t.closest("li"),n=t.parents(".dropdown-open");t.closest(".with-sub-arrow").find("li.dropdown-open").not(n).each(function(){r($(this),!1)}),r(i,!i.hasClass("dropdown-open"))}}},{passive:!1})})(jQuery,document,Themify);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка