FIX: Unbind header keydown event
This commit is contained in:
parent
7aa68eaeab
commit
6b79cc7b30
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue