Fix exception in key handling

Fix a typo introduced in PR #262 which caused scroll keys to throw console
errors.
This commit is contained in:
Richard van der Hoff 2016-04-07 12:05:07 +01:00
parent b70f518d66
commit b64604964d

View file

@ -164,7 +164,7 @@ module.exports = React.createClass({
*/
handleScrollKey: function(ev) {
if (this.refs.scrollPanel) {
this.refs.handleScrollKey(ev);
this.refs.scrollPanel.handleScrollKey(ev);
}
},