mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 14:51:30 +03:00
Mark room as read when escape is pressed
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
26bda5933b
commit
76104edeca
1 changed files with 6 additions and 0 deletions
|
@ -560,6 +560,12 @@ export default createReactClass({
|
|||
handled = true;
|
||||
}
|
||||
break;
|
||||
|
||||
case Key.ESCAPE:
|
||||
this._messagePanel.forgetReadMarker();
|
||||
this.jumpToLiveTimeline();
|
||||
handled = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (handled) {
|
||||
|
|
Loading…
Reference in a new issue