Line 26: | Line 26: | ||
var view = new CarouselView({el: "#carousel", model: people}); | var view = new CarouselView({el: "#carousel", model: people}); | ||
− | + | people.on("sync", function(){ | |
− | + | $(".carouselPrev,.carouselNext").addClass("highlights-background-hover"); | |
− | + | }); | |
}); | }); | ||
</script> | </script> |