mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
add active class to spell item when it is selected
This commit is contained in:
parent
0f2adcad14
commit
d6dc2119cb
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
|
|||
span.glyphicon.glyphicon-comment
|
||||
//left-hand size commands
|
||||
.task-controls.task-primary
|
||||
a.money.btn-buy.item-btn(ng-click='castStart(skill)')
|
||||
a.money.btn-buy.item-btn(ng-click='castStart(skill)', ng-class='{active: skill.key == spell.key}')
|
||||
span.reward-cost
|
||||
strong {{skill.mana}}
|
||||
=env.t('mp')
|
||||
|
|
|
|||
Loading…
Reference in a new issue