Skip to content

Commit a5252de

Browse files
author
Dragan Atanasov
committed
Fixed if condition for _getLastElement magento#1427
1 parent 98be34b commit a5252de

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
@@ -213,7 +213,7 @@ define([
213213
break;
214214

215215
case $.ui.keyCode.END:
216-
if (this._getFirstVisibleElement()) {
216+
if (this._getLastElement()) {
217217
this._getLastElement().addClass(this.options.selectClass);
218218
this.responseList.selected = this._getLastElement();
219219
}

0 commit comments

Comments
 (0)