Remove unusued event handlers

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

// FREEBIE
This commit is contained in:
lilia 2016-03-23 15:06:22 -07:00
parent 1e3e730d88
commit 198cc70cef
3 changed files with 1 additions and 19 deletions

View file

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

View file

@ -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);

View file

@ -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');