Skip to content

Commit

Permalink
Fix capitalisation in ItemPage chest img URL, add title tag
Browse files Browse the repository at this point in the history
  • Loading branch information
wormania committed Aug 4, 2023
1 parent 027bed1 commit 00f30ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/Items/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h3>Can be found in the following dungeons:</h3>
<td data-bind="text: $data.dungeonName"></td>
<td data-bind="text: $data.region"></td>
<td class="text-center">
<img width="40px" data-bind="attr: { src: `./pokeclicker/docs/assets/images/dungeons/chest-${$data.tier}.png` }"/>
<img width="40px" data-bind="attr: { src: `./pokeclicker/docs/assets/images/dungeons/chest-${$data.tier.toLowerCase()}.png`, title: `${$data.tier}` }"/>
</td>
<!-- ko foreach: $data.chances -->
<td data-bind="text: typeof $data.chance === 'number' ? ($data.chance >= 0.0001 ? $data.chance.toLocaleString(undefined, { style: 'percent', minimumFractionDigits: 2 }) : ('<' + 0.0001.toLocaleString(undefined, { style: 'percent', minimumFractionDigits: 2 }))) : ($data.chance ?? '-')"></td>
Expand Down

0 comments on commit 00f30ef

Please sign in to comment.