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.masonrythumbs.js
window.scwMasonryThumbsPlugin = window.scwMasonryThumbsPlugin || {};

window.SEMICOLON_masonryThumbsInit = function ($masonryThumbsEl) {

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

    let $body = $('body');

    $masonryThumbsEl.each(function () {
        let element = $(this),
            elBig = element.attr('data-big');

        element.children().css({ 'width': '' });

        let firstElementWidth = element.children().eq(0).outerWidth();

        element.filter('.has-init-isotope').isotope({
            masonry: {
                columnWidth: firstElementWidth,
            },
        });

        if (elBig) {
            elBig = elBig.split(',');
            let elBigNum = '',
                bigi = '';
            for (bigi = 0; bigi < elBig.length; bigi++) {
                elBigNum = Number(elBig[bigi]) - 1;
                element.children().eq(elBigNum).addClass('grid-item-big');
            }
        }

        element.find('.grid-item-big').
            css({ width: firstElementWidth * 2 + 'px' });

        setTimeout(function () {
            element.filter('.has-init-isotope').isotope('layout');
        }, 500);
    });

};

Spamworldpro Mini