Skip to content

Commit

Permalink
SYWEB-133: JSON dialog now appears on dblclick to allow users to high…
Browse files Browse the repository at this point in the history
…light text.
  • Loading branch information
kegsay committed Nov 4, 2014
1 parent 1c6825c commit 1ac1cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webclient/room/room.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
ng-hide="events.rooms[room_id].messages[$index - 1].user_id === msg.user_id || msg.user_id === state.user_id"/>
</td>
<td ng-class="(!msg.content.membership && ('m.room.topic' !== msg.type && 'm.room.name' !== msg.type))? (msg.content.msgtype === 'm.emote' ? 'emote text' : 'text') : 'membership text'">
<div class="bubble" ng-click="openJson(msg)">
<div class="bubble" ng-dblclick="openJson(msg)">
<span ng-if="'join' === msg.content.membership && msg.changedKey === 'membership'">
{{ members[msg.state_key].displayname || msg.state_key }} joined
</span>
Expand Down

0 comments on commit 1ac1cd6

Please sign in to comment.