FIX: Unbind header keydown event

This commit is contained in:
Robin Ward 2015-04-06 14:25:41 -04:00
parent 7aa68eaeab
commit 6b79cc7b30
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ export default Discourse.View.extend({
$(document).unbind('touchmove.discourse-dock');
this.$('a.unread-private-messages, a.unread-notifications, a[data-notifications]').off('click.notifications');
this.$('a[data-dropdown]').off('click.dropdown');
$('body').off('keydown.header');
}.on('willDestroyElement'),
_setup: function() {