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>
|
||||||
<script type='text/x-tmpl-mustache' id='contact'>
|
<script type='text/x-tmpl-mustache' id='contact'>
|
||||||
{{> avatar }}
|
{{> 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>
|
||||||
<script type='text/x-tmpl-mustache' id='new-contact'>
|
<script type='text/x-tmpl-mustache' id='new-contact'>
|
||||||
{{> avatar }}
|
{{> avatar }}
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
class: '',
|
|
||||||
title: this.model.getTitle(),
|
title: this.model.getTitle(),
|
||||||
number: this.model.getNumber(),
|
number: this.model.getNumber(),
|
||||||
avatar: this.model.getAvatar(),
|
avatar: this.model.getAvatar(),
|
||||||
|
|
Loading…
Reference in a new issue