This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To add a click event, we added the following to the line after evt.target.removeEventListener("touchend", self.handleTouchEnd); (but, before the self.fired=false;) | |
if (!self.fired) { | |
if(jQuery(this).parents(".views_slideshow_cycle_slide").length > 0) { | |
var link = jQuery(this).parents(".views_slideshow_cycle_slide").find("a").attr("href"); | |
if (link.length > 0) document.location.href = link; | |
} | |
} | |