Skip to content

Commit e4894d2

Browse files
committed
Add active class to search form wrapper for more theming flexibility
1 parent 84d382b commit e4894d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Search/view/frontend/web/form-mini.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ define([
122122
* @param {Boolean} isActive
123123
*/
124124
setActiveState: function (isActive) {
125+
this.searchForm.toggleClass('active', isActive);
125126
this.searchLabel.toggleClass('active', isActive);
126127

127128
if (this.isExpandable) {

0 commit comments

Comments
 (0)