Skip to content

Commit

Permalink
fix(masthead-search): re-apply #3932 (#4227)
Browse files Browse the repository at this point in the history
### Related Ticket(s)

Refs #3883.

### Description

Re-applies #3932 as #3933 ended up with erasing #3932.

### Changelog

**Changed**

- Re-applies #3932 as #3933 ended up with erasing #3932.
  • Loading branch information
asudoh authored Oct 14, 2020
1 parent 00ad9c7 commit ee1ece5
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 ee1ece5

Please sign in to comment.