diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js index d3c65dceda..47cc0973b1 100644 --- a/src/components/structures/RoomDirectory.js +++ b/src/components/structures/RoomDirectory.js @@ -486,7 +486,7 @@ module.exports = createReactClass({ ); return ( this.onRoomClicked(room)} + onClick={(ev) => this.onRoomClicked(room, ev)} // cancel onMouseDown otherwise shift-clicking highlights text onMouseDown={(ev) => {ev.preventDefault();}} >