Skip to content

Commit

Permalink
Update tracker-objective.hbs
Browse files Browse the repository at this point in the history
* Fixed an issue that prevented an objective from being marked when clicking the icon instead of the text.
  • Loading branch information
MythicPalette committed Oct 25, 2024
1 parent 959065d commit 7c69986
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/tracker-objective.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<div class="simpler-quest-objective{{#unless (simplerQuestsEquals this.state 0)}} complete{{/unless}}{{#if (simplerQuestsEquals this.state -1)}} failed{{/if}}{{#if this.secret}} secret{{/if}}"
data-id="{{this.id}}">
{{#if (simplerQuestsEquals this.state 1)}}
<i class="fa-regular fa-square-check" title="{{localize 'SimplerQuests.Tracker.Complete'}}"></i>
<i class="fa-regular fa-square-check" style="pointer-events: none" title="{{localize 'SimplerQuests.Tracker.Complete'}}"></i>
{{else if (simplerQuestsEquals this.state -1)}}
<i class="fa-solid fa-square-xmark" title="{{localize 'SimplerQuests.Tracker.Failed'}}"></i>
<i class="fa-solid fa-square-xmark" style="pointer-events: none" title="{{localize 'SimplerQuests.Tracker.Failed'}}"></i>
{{else}}
<i class="fa-regular fa-square" title="{{localize 'SimplerQuests.Tracker.Incomplete'}}"></i>
<i class="fa-regular fa-square" style="pointer-events: none" title="{{localize 'SimplerQuests.Tracker.Incomplete'}}"></i>
{{/if}}
{{this.text}}
{{#if this.subs}}
Expand Down

0 comments on commit 7c69986

Please sign in to comment.