Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/clinic.corals.io/public/assets/front/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/clinic.corals.io/public/assets/front/js/plugins.toggles.js
window.scwTogglesPlugin = window.scwTogglesPlugin || {};

window.SEMICOLON_togglesInit = function ($toggleEl) {

    $toggleEl = $toggleEl.filter(':not(.customjs)');

    if ($toggleEl.length < 1) {
        return true;
    }

    $toggleEl.each(function () {
        let element = $(this),
            elSpeed = element.attr('data-speed') || 300,
            elState = element.attr('data-state');

        if (elState != 'open') {
            element.children('.toggle-content').hide();
        } else {
            element.addClass('toggle-active').
                children('.toggle-content').
                slideDown(Number(elSpeed));
        }

        element.children('.toggle-header').
            off('click').
            on('click', function () {
                element.toggleClass('toggle-active').
                    children('.toggle-content').
                    slideToggle(Number(elSpeed));
                return true;
            });
    });

};


Spamworldpro Mini