Skip to content

Commit cab9b51

Browse files
ENGCOM-1723: [Forwardport] Issue 15469: Javascript error dropdowns.js #15607
- Merge Pull Request #15607 from dmytro-ch/magento2:2.3-develop-PR-port-15499 - Merged commits: 1. 1e2019c
2 parents eaa8525 + 1e2019c commit cab9b51

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/web/mage/dropdowns.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,9 @@ define([
127127
}
128128

129129
elem.on('click.toggleDropdown', function () {
130-
var el;
130+
var el = actionElem;
131131

132132
if (options.autoclose === true) {
133-
el = actionElem;
134-
135133
actionElem = $();
136134
$(document).trigger('click.hideDropdown');
137135
actionElem = el;

0 commit comments

Comments
 (0)