mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	portico: Fix clicking of carousel-container to move to next slide.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							e59fcddb13
						
					
				
				
					commit
					06d00b0dfe
				
			@@ -245,7 +245,7 @@ var load = function () {
 | 
			
		||||
    $(".carousel-inner .item-container").click(function (e) {
 | 
			
		||||
        // We don't want to trigger this event if user clicks on a link
 | 
			
		||||
        if (e.target.tagName.toLowerCase() !== "a") {
 | 
			
		||||
            $("#myCarousel").carousel("next");
 | 
			
		||||
            $(this).closest('.carousel').carousel('next');
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user