fix clicking on room dir item
This commit is contained in:
parent
7cb817c7bc
commit
bf460dbd3d
1 changed files with 1 additions and 1 deletions
|
@ -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();}}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue