Fix JS Error of issue #273 by des-jender · Pull Request #276 · angular-wizard/angular-wizard · GitHub
Skip to content

Fix JS Error of issue #273 - #276

Open
des-jender wants to merge 1 commit into
angular-wizard:masterfrom
des-jender:patch-1
Open

des-jender wants to merge 1 commit into
angular-wizard:masterfrom
des-jender:patch-1

Conversation

@des-jender

Copy link
Copy Markdown

By calling indexOf directly on the array the JS error of issue #273 could be prevented.

PS: Not sure if the white spaces where set correctly, but the only change that I made was in line 236 _.indexOf($scope.getEnabledSteps(), step) -> $scope.getEnabledSteps().indexOf(step).

By calling indexOf directly on the array the JS error of issue angular-wizard#273 could be prevented.

PS: Not sure if the white spaces where set correctly, but the only change that I made was in line 236 `_.indexOf($scope.getEnabledSteps(), step)` -> `$scope.getEnabledSteps().indexOf(step)`.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant