Plugin Directory

Changeset 2310698


Ignore:
Timestamp:
05/23/2020 10:14:41 AM (6 years ago)
Author:
azexo
Message:

from shopify

File:
1 edited

Legend:

Unmodified
Added
Removed
  • page-builder-by-azexo/trunk/js/frontend.js

    r2302691 r2310698  
    10531053                }).trigger('azh-refresh');
    10541054                $accordion.children().find('> div:last-child').slideUp(0);
     1055                $accordion.find('> div.az-active').removeClass('az-active');
    10551056//                $accordion.find('> div.az-active').find('> div:last-child').slideDown(0, function () {
    10561057//                    if ('isotope' in $.fn) {
     
    17931794                        if ($image.prop('tagName') === 'IMG') {
    17941795                            $image.attr('src', $image.data('src'));
     1796                            if ('isotope' in $.fn) {
     1797                                $image.one('load', function () {
     1798                                    $image.closest('.az-isotope-items').isotope('layout');
     1799                                });
     1800                            }
    17951801                        } else {
    17961802                            $image.css('background-image', 'url("' + $image.data('src') + '")');
    17971803                        }
    1798                         $image.addClass('loaded');
     1804                        $image.addClass('az-loaded');
    17991805                    });
    18001806                };
Note: See TracChangeset for help on using the changeset viewer.