comment wording

pull/21833/head
Michael Telatynski 2017-05-07 20:58:30 +01:00 committed by GitHub
parent 360f1cd250
commit bd32df4ef6
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export default React.createClass({
} }
}, },
// Don't let key down events get any further, so they only trigger this and nothing more // Don't let esc keydown events get any further, so they only trigger this and nothing more
_onKeyDown: function(e) { _onKeyDown: function(e) {
if (e.keyCode === KeyCode.ESCAPE) { if (e.keyCode === KeyCode.ESCAPE) {
e.stopPropagation(); e.stopPropagation();