diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index bca6b8ad42..843be3e50b 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -128,7 +128,7 @@ const RoomSubList = createReactClass({ this._headerButton.current.focus(); }, - onKeyDown: function(ev) { + onHeaderKeyDown: function(ev) { switch (ev.key) { case Key.TAB: // Prevent LeftPanel handling Tab if focus is on the sublist header itself @@ -297,7 +297,7 @@ const RoomSubList = createReactClass({ } return ( -