File manager - Edit - /usr/local/cpanel/whostmgr/docroot/templates/common/collapsible_wrapper/collapsible_wrapper.min.js
Back
(function(){var handleSectionClick=function(event){event.preventDefault();event.currentTarget.classList.toggle("active");var content=getNextSibling(event.currentTarget,".content");content.style.display=content.style.display==="block"?"none":"block";updateIcon(event.currentTarget.querySelector("i"))};var getNextSibling=function(elem,selector){var sibling=elem.nextElementSibling;if(!selector){return sibling}while(sibling){if(sibling.matches(selector)){return sibling}sibling=sibling.nextElementSibling}};var updateIcon=function(element){var iconClassList=element.classList;iconClassList.toggle("fa-chevron-down");iconClassList.toggle("fa-chevron-up")};window.addEventListener("load",(function(){var collapsibles=document.querySelectorAll(".collapsible-wrapper:not(.collapsible--disabled)");var disabledCollapsibles=document.querySelectorAll(".collapsible--disabled");collapsibles.forEach((function(collapsible){collapsible.addEventListener("click",(function(event){handleSectionClick(event)}))}));disabledCollapsibles.forEach((function(collapsible){collapsible.addEventListener("click",(function(event){event.preventDefault()}))}))}))})();
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings