mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
fix clicking on room dir item
This commit is contained in:
parent
7cb817c7bc
commit
bf460dbd3d
@ -486,7 +486,7 @@ module.exports = createReactClass({
|
||||
);
|
||||
return (
|
||||
<tr key={ room.room_id }
|
||||
onClick={() => this.onRoomClicked(room)}
|
||||
onClick={(ev) => this.onRoomClicked(room, ev)}
|
||||
// cancel onMouseDown otherwise shift-clicking highlights text
|
||||
onMouseDown={(ev) => {ev.preventDefault();}}
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user