Skip to content

Commit

Permalink
#22795: Static test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
p-bystritsky committed May 21, 2019
1 parent 3c8dcea commit c79e1ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Search/view/frontend/web/js/form-mini.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ define([
*/
setActiveState: function (isActive) {
var searchValue;

this.searchForm.toggleClass('active', isActive);
this.searchLabel.toggleClass('active', isActive);

if (this.isExpandable) {
this.element.attr('aria-expanded', isActive);
searchValue = this.element.val();
this.element.val("");
this.element.val('');
this.element.val(searchValue);
}
},
Expand Down

0 comments on commit c79e1ff

Please sign in to comment.