mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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');
|
$(document).unbind('touchmove.discourse-dock');
|
||||||
this.$('a.unread-private-messages, a.unread-notifications, a[data-notifications]').off('click.notifications');
|
this.$('a.unread-private-messages, a.unread-notifications, a[data-notifications]').off('click.notifications');
|
||||||
this.$('a[data-dropdown]').off('click.dropdown');
|
this.$('a[data-dropdown]').off('click.dropdown');
|
||||||
|
$('body').off('keydown.header');
|
||||||
}.on('willDestroyElement'),
|
}.on('willDestroyElement'),
|
||||||
|
|
||||||
_setup: function() {
|
_setup: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user