consistent naming

Co-Authored-By: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Bruno Windels 2019-09-11 14:15:46 +00:00 committed by David Baker
parent 810977a916
commit 13a3cf3afe

View file

@ -488,7 +488,7 @@ module.exports = React.createClass({
<td className="mx_RoomDirectory_roomDescription">
<div className="mx_RoomDirectory_name">{ name }</div>&nbsp;
<div className="mx_RoomDirectory_topic"
onClick={ function(e) { e.stopPropagation(); } }
onClick={ (ev) => { ev.stopPropagation(); } }
dangerouslySetInnerHTML={{ __html: topic }} />
<div className="mx_RoomDirectory_alias">{ get_display_alias_for_room(room) }</div>
</td>