You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-19 20:23:18 +03:00
fix clicking on room dir item
This commit is contained in:
@ -486,7 +486,7 @@ module.exports = createReactClass({
|
|||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<tr key={ room.room_id }
|
<tr key={ room.room_id }
|
||||||
onClick={() => this.onRoomClicked(room)}
|
onClick={(ev) => this.onRoomClicked(room, ev)}
|
||||||
// cancel onMouseDown otherwise shift-clicking highlights text
|
// cancel onMouseDown otherwise shift-clicking highlights text
|
||||||
onMouseDown={(ev) => {ev.preventDefault();}}
|
onMouseDown={(ev) => {ev.preventDefault();}}
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user