Skip to content
Snippets Groups Projects
Commit 1ac1cd6c authored by Kegan Dougal's avatar Kegan Dougal
Browse files

SYWEB-133: JSON dialog now appears on dblclick to allow users to highlight text.

parent 1c6825cc
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment