Skip to content

Commit

Permalink
Don't update position as we scroll (#17507)
Browse files Browse the repository at this point in the history
  • Loading branch information
nainar authored Aug 16, 2018
1 parent 7b7c264 commit 3553c5b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion extensions/amp-carousel/0.1/scrollable-carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ export class AmpScrollableCarousel extends BaseCarousel {
*/
scrollHandler_() {
const currentScrollLeft = this.container_./*OK*/scrollLeft;
this.pos_ = currentScrollLeft;

if (this.scrollTimerId_ === null) {
this.waitForScroll_(currentScrollLeft);
Expand Down

0 comments on commit 3553c5b

Please sign in to comment.