summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-11-04 11:06:31 +0000
committerKegan Dougal <kegan@matrix.org>2014-11-04 11:06:31 +0000
commit1ac1cd6c14275d535f7edcbeeba37b32b6cb056e (patch)
tree5583619447fee4d401498af3baf8036a4d82b59e /webclient
parentUse python logger, not the twisted logger (diff)
downloadsynapse-1ac1cd6c14275d535f7edcbeeba37b32b6cb056e.tar.xz
SYWEB-133: JSON dialog now appears on dblclick to allow users to highlight text.
Diffstat (limited to '')
-rw-r--r--webclient/room/room.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index 5265f42dd8..b9147b1dce 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -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>