mirror of https://github.com/vector-im/riot-web
Fix exception in key handling
Fix a typo introduced in PR #262 which caused scroll keys to throw console errors.pull/21833/head
parent
b70f518d66
commit
b64604964d
|
@ -164,7 +164,7 @@ module.exports = React.createClass({
|
|||
*/
|
||||
handleScrollKey: function(ev) {
|
||||
if (this.refs.scrollPanel) {
|
||||
this.refs.handleScrollKey(ev);
|
||||
this.refs.scrollPanel.handleScrollKey(ev);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue