Skip to content

Commit f7893a4

Browse files
Daniel RufDanielRuf
Daniel Ruf
authored andcommitted
fix: support multiple minisearch widget instances
1 parent 79613c0 commit f7893a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ define([
5151
this.autoComplete = $(this.options.destinationSelector);
5252
this.searchForm = $(this.options.formSelector);
5353
this.submitBtn = this.searchForm.find(this.options.submitBtn)[0];
54-
this.searchLabel = $(this.options.searchLabel);
54+
this.searchLabel = this.searchForm.find(this.options.searchLabel);
5555
this.isExpandable = this.options.isExpandable;
5656

5757
_.bindAll(this, '_onKeyDown', '_onPropertyChange', '_onSubmit');

0 commit comments

Comments
 (0)