Remove unusued event handlers

The conversation view now handles displaying and listening to the back
button.

// FREEBIE
pull/749/head
lilia 9 years ago
parent 1e3e730d88
commit 198cc70cef

@ -19,12 +19,6 @@
},
render_attributes: {
members: i18n('members')
},
events: {
'click .back': 'goBack',
},
goBack: function() {
this.trigger('back');
},
}
});
})();

@ -8,12 +8,6 @@
Whisper.KeyVerificationView = Whisper.View.extend({
className: 'key-verification',
templateName: 'key_verification',
events: {
'click .back': 'goBack'
},
goBack: function() {
this.trigger('back');
},
splitKey: function(key) {
// key is an array buffer
var bytes = new Uint8Array(key);

@ -37,12 +37,6 @@
this.listenTo(this.model, 'change', this.render);
},
events: {
'click .back': 'goBack'
},
goBack: function() {
this.trigger('back');
},
contacts: function() {
if (this.model.isIncoming()) {
var number = this.model.get('source');

Loading…
Cancel
Save