Plugin Directory

Changeset 1737783


Ignore:
Timestamp:
09/28/2017 01:59:04 PM (9 years ago)
Author:
graphicarea
Message:

update js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ga-image-carousel/tags/1.0/ga-image-carousel.js

    r1737764 r1737783  
    165165            var previousOffset = 0;
    166166           
    167             this.carousel.mousedown(function(event) {
     167            this.carousel.bind('touchstart mousedown', function(event){
    168168                event.preventDefault();
    169169                clearInterval(self.autoplayTimer);
     
    171171            });
    172172           
    173             $( "*" ).mouseup(function() {
     173            $( "*" ).bind('touchend mouseup', function(){
    174174                drag = false;
    175175                previousOffset = 0;
Note: See TracChangeset for help on using the changeset viewer.