mirror of https://github.com/vector-im/riot-web
parent
8971211639
commit
1afdb0e3c0
|
@ -95,7 +95,9 @@ var LeftPanel = React.createClass({
|
||||||
break;
|
break;
|
||||||
case KeyCode.ENTER:
|
case KeyCode.ENTER:
|
||||||
this._onMoveFocus(false);
|
this._onMoveFocus(false);
|
||||||
this.focusedElement.click();
|
if (this.focusedElement) {
|
||||||
|
this.focusedElement.click();
|
||||||
|
}
|
||||||
handled = true;
|
handled = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue