Skip to content

Commit e314dfc

Browse files
committed
Merge branch 'MAGETWO-32234' into PR-bugs
2 parents 32aa8e6 + 9ab7471 commit e314dfc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/web/mage/menu.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,13 @@ define([
379379
}
380380
},
381381
_delay: function(handler, delay) {
382-
this._super(handler, delay);
382+
var instance = this,
383+
handlerProxy = function () {
384+
return (typeof handler === "string" ? instance[handler] : handler)
385+
.apply(instance, arguments);
386+
};
387+
388+
return setTimeout(handlerProxy, delay || 0);
383389
}
384390
});
385391

0 commit comments

Comments
 (0)