403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/successkpi/wp-content/themes/successkpi/blocks/tab-section/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/successkpi/wp-content/themes/successkpi/blocks/tab-section/script.js
document.addEventListener('DOMContentLoaded', function () {
  const accordions = document.querySelectorAll('.ai-wordkforce-tabs .accordion');

  accordions.forEach(function (accordion) {
    // Set active class on page load for initially open items
    accordion.querySelectorAll('.accordion-collapse.show').forEach(function (collapseEl) {
      collapseEl.closest('.accordion-item').classList.add('active');
    });

    // Add active class when an item is shown
    accordion.addEventListener('show.bs.collapse', function (e) {
      e.target.closest('.accordion-item').classList.add('active');
    });

    // Remove active class when an item is hidden
    accordion.addEventListener('hide.bs.collapse', function (e) {
      e.target.closest('.accordion-item').classList.remove('active');
    });
  });
});

Youez - 2016 - github.com/yon3zu
LinuXploit