Skip to content

Commit de4f29c

Browse files
committed
MAGETWO-65335: [GitHub][PR] Add active class to search form wrapper for more theming flexibility #8723
- Merge Pull Request #8723 from andrewkett/magento2:feature-search-class
2 parents 2efb39f + e4894d2 commit de4f29c

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)