fix(costume): better fix for #4274

This commit is contained in:
Matteo Pagliazzi 2014-11-26 12:26:41 +01:00
parent 43fa461a67
commit c0a3fc887a

View file

@ -11,7 +11,7 @@ script(type='text/ng-template', id='partials/options.inventory.equipment.html')
h3.equipment-title.hint(popover-trigger='mouseenter', popover-placement='right', popover=env.t('costumeText'))=env.t('costume')
.checkbox.equipment-title
label
input(type="checkbox", ng-model="user.preferences.costume", ng-click='set({"preferences.costume":user.preferences.costume})')
input(type="checkbox", ng-model="user.preferences.costume", ng-change='set({"preferences.costume":user.preferences.costume ? true : false})')
| 
=env.t('useCostume')
li.customize-menu(ng-if='user.preferences.costume')