Skip to content

Commit

Permalink
fix(masthead-search): re-apply carbon-design-system#3932
Browse files Browse the repository at this point in the history
  • Loading branch information
asudoh committed Oct 14, 2020
1 parent a47f458 commit e1d7153
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ class DDSMastheadSearch extends BXDropdown {
private async _handleClickSearchButton() {
const { active } = this;
if (active) {
this._handleUserInitiatedRedirect();
if (this._searchInputNode.value) {
this._handleUserInitiatedRedirect();
}
} else {
this._handleUserInitiatedToggleActiveState(true);
}
Expand Down

0 comments on commit e1d7153

Please sign in to comment.