Skip to content

Commit

Permalink
carousel-type-fix (#36971)
Browse files Browse the repository at this point in the history
  • Loading branch information
samouri authored Nov 17, 2021
1 parent 5df91d3 commit 1653c1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extensions/amp-carousel/0.1/scrollable-carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down
4 changes: 2 additions & 2 deletions extensions/amp-carousel/0.1/slidescroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down

0 comments on commit 1653c1e

Please sign in to comment.