Remove empty string class passed to contact template
FREEBIE
This commit is contained in:
parent
8264f3ba33
commit
688cae6374
2 changed files with 1 additions and 2 deletions
|
@ -255,7 +255,7 @@
|
|||
</script>
|
||||
<script type='text/x-tmpl-mustache' id='contact'>
|
||||
{{> avatar }}
|
||||
<div class='contact-details {{ class }}'> {{> contact_name_and_number }} </div>
|
||||
<div class='contact-details {{ #class }} {{ class }} {{ /class}}'> {{> contact_name_and_number }} </div>
|
||||
</script>
|
||||
<script type='text/x-tmpl-mustache' id='new-contact'>
|
||||
{{> avatar }}
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
}
|
||||
|
||||
return {
|
||||
class: '',
|
||||
title: this.model.getTitle(),
|
||||
number: this.model.getNumber(),
|
||||
avatar: this.model.getAvatar(),
|
||||
|
|
Loading…
Reference in a new issue