mirror of https://github.com/zulip/zulip.git
portico: Fix clicking of carousel-container to move to next slide.
This commit is contained in:
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');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue