Revert "Merge pull request #765 from t3chguy/t3chguy/escape-closes-user-settings"
This reverts commita29d8c2af2
, reversing changes made to1d836c7d02
.
This commit is contained in:
parent
ebfafb3639
commit
75eea89c08
1 changed files with 0 additions and 12 deletions
|
@ -107,18 +107,6 @@ export default React.createClass({
|
|||
var handled = false;
|
||||
|
||||
switch (ev.keyCode) {
|
||||
case KeyCode.ESCAPE:
|
||||
|
||||
// Implemented this way so possible handling for other pages is neater
|
||||
switch (this.props.page_type) {
|
||||
case PageTypes.UserSettings:
|
||||
this.props.onUserSettingsClose();
|
||||
handled = true;
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case KeyCode.UP:
|
||||
case KeyCode.DOWN:
|
||||
if (ev.altKey && !ev.shiftKey && !ev.ctrlKey && !ev.metaKey) {
|
||||
|
|
Loading…
Reference in a new issue