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.
2 parents f440208 + 5f6d157 commit f7c36c1Copy full SHA for f7c36c1
lib/web/mage/menu.js
@@ -378,13 +378,8 @@ define([
378
}, 300);
379
}
380
},
381
- _delay: function( handler, delay ) {
382
- function handlerProxy() {
383
- return ( typeof handler === "string" ? instance[ handler ] : handler )
384
- .apply( instance, arguments );
385
- }
386
- var instance = this;
387
- return setTimeout( handlerProxy, delay || 0 );
+ _delay: function(handler, delay) {
+ this._super(handler, delay);
388
389
});
390
0 commit comments