diff --git a/extensions/amp-carousel/0.1/scrollable-carousel.js b/extensions/amp-carousel/0.1/scrollable-carousel.js index 1e9682001819..b5815707349f 100644 --- a/extensions/amp-carousel/0.1/scrollable-carousel.js +++ b/extensions/amp-carousel/0.1/scrollable-carousel.js @@ -402,12 +402,12 @@ export class AmpScrollableCarousel extends AMP.BaseElement { /** Used by amp-lightbox-gallery */ interactionNext() { - this.controls_.interactionNext(); + this.controls_.handleNext(); } /** Used by amp-lightbox-gallery */ interactionPrev() { - this.controls_.interactionPrev(); + this.controls_.handlePrev(); } /** diff --git a/extensions/amp-carousel/0.1/slidescroll.js b/extensions/amp-carousel/0.1/slidescroll.js index 16fa0eb14439..63e1d6982d71 100644 --- a/extensions/amp-carousel/0.1/slidescroll.js +++ b/extensions/amp-carousel/0.1/slidescroll.js @@ -339,12 +339,12 @@ export class AmpSlideScroll extends AMP.BaseElement { /** Used by amp-lightbox-gallery */ interactionNext() { - this.controls_.interactionNext(); + this.controls_.handleNext(); } /** Used by amp-lightbox-gallery */ interactionPrev() { - this.controls_.interactionPrev(); + this.controls_.handlePrev(); } /**