From 03a5355fb90a4f400c0cee1be5429cbe44d007e7 Mon Sep 17 00:00:00 2001 From: Oliver Ng Date: Mon, 20 Feb 2017 17:01:05 -0800 Subject: [PATCH] STENCIL-2445: Remove unused variable causing js error --- CHANGELOG.md | 2 +- assets/js/theme/global/stencil-dropdown.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e17003e601..160fe01bb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ - Fix an issue with special characters in carousel text [#932](https://github.com/bigcommerce/stencil/pull/932) - Remove an unnecessary and confusing option in theme editor [#927](https://github.com/bigcommerce/stencil/pull/927) - Fix an issue where required product list options would display an invalid "none" choice [#929](https://github.com/bigcommerce/stencil/pull/929) - +- 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) - Added a setting to theme editor schema to show/hide the homepage carousel [#909](https://github.com/bigcommerce/stencil/pull/909) 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');