mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
typeahead: Fix binding of event handler to blur event.
This was a bug in 0f76e98 that prevented typeahead from
closing unless we select an option from it.
Fixes #15905 and #15907.
This commit is contained in:
committed by
Anders Kaseorg
parent
3252dfaa72
commit
946836455c
@@ -307,7 +307,7 @@
|
||||
|
||||
, listen: function () {
|
||||
this.$element
|
||||
.on('blur', this.blur(this))
|
||||
.on('blur', this.blur.bind(this))
|
||||
.on('keypress', this.keypress.bind(this))
|
||||
.on('keyup', this.keyup.bind(this))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user