fix clicking on room dir item

pull/21833/head
Bruno Windels 2019-09-13 11:09:02 +02:00 committed by David Baker
parent d394e76254
commit 820869d99b
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ module.exports = React.createClass({
);
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();}}
>