mirror of https://github.com/vector-im/riot-web
delint
parent
7f78f55c94
commit
b094f0fe47
|
@ -198,7 +198,7 @@ export default class Dropdown extends React.Component {
|
||||||
switch (e.key) {
|
switch (e.key) {
|
||||||
case Key.ENTER:
|
case Key.ENTER:
|
||||||
this.props.onOptionChange(this.state.highlightedOption);
|
this.props.onOptionChange(this.state.highlightedOption);
|
||||||
// fallthrough
|
// fallthrough
|
||||||
case Key.ESCAPE:
|
case Key.ESCAPE:
|
||||||
this._close();
|
this._close();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue