diff --git a/CHANGELOG.md b/CHANGELOG.md index 785aea2c2d..dcc23fc17d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Auto-expand product videos on the product page if the product has at least one video [#935](https://github.com/bigcommerce/stencil/pull/935) - Fix an issue with special characters in search results for content pages [#933](https://github.com/bigcommerce/stencil/pull/933) - Fix an issue with special characters in carousel text [#932](https://github.com/bigcommerce/stencil/pull/932) +- Remove unused variable causing js error with search in the nav [#938](https://github.com/bigcommerce/stencil/pull/938) ## 1.5.2 (2017-02-14) diff --git a/assets/js/theme/global/stencil-dropdown.js b/assets/js/theme/global/stencil-dropdown.js index 3c7a6358ff..b1a92e723e 100644 --- a/assets/js/theme/global/stencil-dropdown.js +++ b/assets/js/theme/global/stencil-dropdown.js @@ -16,7 +16,7 @@ export default class StencilDropdown { // callback "hide" if (this.extendables && this.extendables.hide) { - this.extendables.hide(event); + this.extendables.hide(); } $dropDown.removeClass('is-open f-open-dropdown').attr('aria-hidden', 'true');