diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index 83e9505e..b24a179a 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -52,7 +52,14 @@ 'click .end-session': 'endSession', 'click .leave-group': 'leaveGroup', 'click .new-group-update': 'newGroupUpdate', - 'click .hamburger': 'toggleMenu' + 'click .hamburger': 'toggleMenu', + 'click' : 'closeMenu' + }, + + closeMenu: function(e) { + if (e && !$(e.target).hasClass('hamburger')) { + this.$el.find('.menu-list').hide(); + } }, endSession: function() {