Skip to content

Commit

Permalink
BCTHEME-213 Add Info and Add Coupon forms on Cart Page tabbable when …
Browse files Browse the repository at this point in the history
…hidden
  • Loading branch information
yurytut1993 committed Sep 8, 2020
1 parent cea4c32 commit 076c806
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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
- Add Info and Add Coupon forms on Cart Page tabbable when hidden. [#1820](https://github.com/bigcommerce/cornerstone/pull/1820)
- 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
4 changes: 2 additions & 2 deletions assets/js/theme/cart/shipping-estimator.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,15 @@ export default class ShippingEstimator {
event.preventDefault();

$(event.currentTarget).hide();
$estimatorContainer.removeClass('u-hiddenVisually');
$estimatorContainer.removeClass('u-hidden');
$('.shipping-estimate-hide').show();
});


$('.shipping-estimate-hide').on('click', event => {
event.preventDefault();

$estimatorContainer.addClass('u-hiddenVisually');
$estimatorContainer.addClass('u-hidden');
$('.shipping-estimate-show').show();
$('.shipping-estimate-hide').hide();
});
Expand Down
2 changes: 1 addition & 1 deletion templates/components/cart/shipping-estimator.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
{{/if}}

<div class="shipping-estimator u-hiddenVisually">
<div class="shipping-estimator u-hidden">
<form class="form estimator-form" data-shipping-estimator>
<dl>
<dt class="estimator-form-label">
Expand Down

0 comments on commit 076c806

Please sign in to comment.