Skip to content

Commit

Permalink
BCTHEME-210 Carousel hidden when one or more of its images not found
Browse files Browse the repository at this point in the history
  • Loading branch information
yurytut1993 committed Sep 11, 2020
1 parent cea4c32 commit 84f962f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Carousel hidden when one or more of its images not found. [#1816](https://github.com/bigcommerce/cornerstone/pull/1816)
- Review link in quick modal focused twice. [#1797](https://github.com/bigcommerce/cornerstone/pull/1797)
- Fixed product image doesn't change on click when viewing a product with multiple images in IE11 [#1748](https://github.com/bigcommerce/cornerstone/pull/1748)
- Fixed alt text on image change in product view [#1747](https://github.com/bigcommerce/cornerstone/pull/1747)
Expand Down
3 changes: 3 additions & 0 deletions assets/js/theme/common/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ export default function () {
}
});

showCarouselIfSlidesAnalized($element);
})
.error(() => {
showCarouselIfSlidesAnalized($element);
});
});
Expand Down

0 comments on commit 84f962f

Please sign in to comment.