Commit af70d37
Jao Zafra
The code evaluates to 0 or 1 which are both true.
Unfortunately, javascript is evaluating if(0) as false making the code
inside the statement never fire.
inArray returns -1 if the value is not found in the array. So I just added
>= 0 for the code to fire properly.1 parent 929f57d commit af70d37
File tree
2 files changed
+2
-2
lines changed- lib/assets/javascripts
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments