mirror of https://github.com/zulip/zulip.git
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:
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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue