Fixed line break formatting in dialogs

This commit is contained in:
Stefan Zermatten
2015-05-18 13:18:11 +02:00
parent 679292373c
commit a9648c10cc
14 changed files with 39 additions and 22 deletions

View File

@@ -13,5 +13,9 @@ Template.raceDialog.helpers({
race: function(){
var char = Characters.findOne(this.charId, {fields: {race: 1}});
return char && char.race;
}
},
color: function() {
var char = Characters.findOne(this.charId, {fields: {color: 1}});
if (char) return getColorClass(char.color);
},
});