mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-19 13:31:24 +02: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