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 GitHub
parent 6f62cdb22c
commit 094c9e3468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -487,7 +487,7 @@ module.exports = createReactClass({
<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>