comment wording

This commit is contained in:
Michael Telatynski 2017-05-07 20:58:30 +01:00 committed by GitHub
parent 360f1cd250
commit bd32df4ef6

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();