Skip to content

Commit 06bdd4d

Browse files
authored
MAGETWO-65335: [GitHub][PR] Add active class to search form wrapper for more theming flexibility #8723
2 parents 2bcb273 + de4f29c commit 06bdd4d

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)