Showing
2 changed files
with
2 additions
and
2 deletions
| ... | ... | @@ -80,7 +80,7 @@ module Kanjai |
| 80 | 80 | if subpart |
| 81 | 81 | markers_position = {} |
| 82 | 82 | |
| 83 | - (subpart.conditions || []).sort{|a,b| a["name"] <=> b["name"] }.each do |item, index| | |
| 83 | + (subpart.conditions || []).sort{|a,b| a["name"] <=> b["name"] }.each_with_index do |item, index| | |
| 84 | 84 | markers_position[item["name"]] = index |
| 85 | 85 | end |
| 86 | 86 | ... | ... |