| ... | ... |
@@ -6,7 +6,7 @@ class Xmpp.Views.Contacts.ContactView extends Backbone.View |
| 6 | 6 |
className: 'clear user' |
| 7 | 7 |
|
| 8 | 8 |
events: |
| 9 |
- 'click': 'startChat' |
|
| 9 |
+ click: 'startChat' |
|
| 10 | 10 |
|
| 11 | 11 |
initialize: () -> |
| 12 | 12 |
_.bindAll(this) |
| ... | ... |
@@ -14,7 +14,7 @@ class Xmpp.Views.Contacts.ContactView extends Backbone.View |
| 14 | 14 |
# Patrim nejakemu zoznamu |
| 15 | 15 |
@parentList = @attributes['listView'] |
| 16 | 16 |
|
| 17 |
- @model.on('change', @updateContact, this)
|
|
| 17 |
+ @model.on('change', @updateContact)
|
|
| 18 | 18 |
|
| 19 | 19 |
updateContact: (contact) -> |
| 20 | 20 |
@model = contact |