mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-09-22 00:55:44 +00:00
Revert "Cancel quick-search on Escape, clearing it and returning focus to composer."
This reverts commit 52a119244b
.
This commit is contained in:
parent
9399b7ddf0
commit
fdf326c9f0
@ -100,10 +100,6 @@ module.exports = React.createClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (ev.keyCode) {
|
switch (ev.keyCode) {
|
||||||
case KeyCode.ESCAPE:
|
|
||||||
this._clearSearch();
|
|
||||||
dis.dispatch({action: 'focus_composer'});
|
|
||||||
break;
|
|
||||||
case KeyCode.KEY_K:
|
case KeyCode.KEY_K:
|
||||||
if (ctrlCmdOnly) {
|
if (ctrlCmdOnly) {
|
||||||
if (this.refs.search) {
|
if (this.refs.search) {
|
||||||
|
Loading…
Reference in New Issue
Block a user