Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -80,7 +80,7 @@ module Kanjai | @@ -80,7 +80,7 @@ module Kanjai | ||
| 80 | if subpart | 80 | if subpart |
| 81 | markers_position = {} | 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 | markers_position[item["name"]] = index | 84 | markers_position[item["name"]] = index |
| 85 | end | 85 | end |
| 86 | 86 |