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 e7f70ab commit 25e3cfeCopy full SHA for 25e3cfe
app/code/Magento/Checkout/view/frontend/web/js/view/progress-bar.js
@@ -24,16 +24,16 @@ define([
24
25
/** @inheritdoc */
26
initialize: function () {
27
- var steps;
+ var stepsValue;
28
29
this._super();
30
$(window).hashchange(_.bind(stepNavigator.handleHash, stepNavigator));
31
32
if (!window.location.hash) {
33
- steps = stepNavigator.steps();
+ stepsValue = stepNavigator.steps();
34
35
- if (steps.length) {
36
- stepNavigator.setHash(steps.sort(stepNavigator.sortItems)[0].code);
+ if (stepsValue.length) {
+ stepNavigator.setHash(stepsValue.sort(stepNavigator.sortItems)[0].code);
37
}
38
39
0 commit comments