mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-04-24 01:25:37 +03:00
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:
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…
x
Reference in New Issue
Block a user