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