mirror of https://github.com/vector-im/riot-web
parent
2e6899be93
commit
fac8274559
|
@ -120,6 +120,7 @@ const LeftPanel = createReactClass({
|
|||
if (!this.focusedElement) return;
|
||||
|
||||
switch (ev.key) {
|
||||
// On enter of rooms filter select and activate first room if such one exists
|
||||
case Key.ENTER: {
|
||||
const firstRoom = ev.target.closest(".mx_LeftPanel").querySelector(".mx_RoomTile");
|
||||
if (firstRoom) {
|
||||
|
|
Loading…
Reference in New Issue