You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +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:
@@ -164,7 +164,7 @@ module.exports = React.createClass({
|
||||
*/
|
||||
handleScrollKey: function(ev) {
|
||||
if (this.refs.scrollPanel) {
|
||||
this.refs.handleScrollKey(ev);
|
||||
this.refs.scrollPanel.handleScrollKey(ev);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user