Plugin Directory

Changeset 1738275


Ignore:
Timestamp:
09/29/2017 09:21:54 AM (9 years ago)
Author:
graphicarea
Message:

update js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ga-image-carousel/trunk/ga-image-carousel.js

    r1738194 r1738275  
    164164            var drag = false;
    165165            var previousOffset = 0;
     166           
    166167            var $links = $(this.id+' [data-fancybox]');
    167 
     168           
     169            if(typeof $.fancybox != 'function') {
     170           
    168171            $links.on('click touchstart', function() {
    169 
    170172            $.fancybox.open( $links, {
    171             // Custom options
    172173            }, $links.index( this ) );
    173174
    174175            return false;
    175176            });
     177           
     178            }
    176179           
    177180            this.carousel.on('mousedown touchstart', 'div', function(event){
Note: See TracChangeset for help on using the changeset viewer.