consistent naming

Co-Authored-By: Travis Ralston <travpc@gmail.com>
pull/21833/head
Bruno Windels 2019-09-11 14:15:46 +00:00 committed by David Baker
parent 810977a916
commit 13a3cf3afe
1 changed files with 1 additions and 1 deletions

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>