Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STENCIL-2555 Auto-expand product videos when present #935

Merged
merged 1 commit into from
Feb 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Fixes an issue where search results would incorrectly state there were no results when there were results visible [#934](https://github.com/bigcommerce/stencil/pull/934)
- Update BC logo sprite to use current BC logo [#931](https://github.com/bigcommerce/stencil/pull/931)
- Fix z-index for product sale badges so they aren't above the menu [#926](https://github.com/bigcommerce/stencil/pull/926)
- Auto-expand product videos on the product page if the product has at least one video [#935](https://github.com/bigcommerce/stencil/pull/935)


## 1.5.2 (2017-02-14)
Expand Down
4 changes: 2 additions & 2 deletions templates/components/products/videos.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<section class="toggle videoGallery" data-video-gallery>
<h4 class="toggle-title">
{{lang 'products.videos.header'}}
<a href="#videoGallery-content" class="toggleLink" data-collapsible>
<a href="#videoGallery-content" class="toggleLink is-open" data-collapsible>
<span class="toggleLink-text toggleLink-text--on">
{{lang 'products.videos.hide'}}
</span>
Expand All @@ -11,7 +11,7 @@ <h4 class="toggle-title">
</a>
</h4>

<div class="toggle-content" id="videoGallery-content">
<div class="toggle-content is-open" id="videoGallery-content">
<div class="videoGallery-main">
<iframe
id="player"
Expand Down