We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaa8525 commit 1e2019cCopy full SHA for 1e2019c
lib/web/mage/dropdowns.js
@@ -127,11 +127,9 @@ define([
127
}
128
129
elem.on('click.toggleDropdown', function () {
130
- var el;
+ var el = actionElem;
131
132
if (options.autoclose === true) {
133
- el = actionElem;
134
-
135
actionElem = $();
136
$(document).trigger('click.hideDropdown');
137
actionElem = el;
0 commit comments