diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-11 13:43:55 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-11 13:43:55 +0200 |
commit | c92740e8a905b3f19a27290410823cff9b35b945 (patch) | |
tree | 6d8de2a9427dff04e33a59b84c03f6c4dcd090fd /webclient/room/room.html | |
parent | On member avatar mouseover, show user_id and power level (diff) | |
download | synapse-c92740e8a905b3f19a27290410823cff9b35b945.tar.xz |
Enable enter key in the invite input
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index 98423ae40b..2225cc7646 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -150,7 +150,7 @@ <div class="extraControls"> <span> Invite a user: - <input ng-model="userIDToInvite" size="32" type="text" placeholder="User ID (ex:@user:homeserver)"/> + <input ng-model="userIDToInvite" size="32" type="text" ng-enter="inviteUser(userIDToInvite)" placeholder="User ID (ex:@user:homeserver)"/> <button ng-click="inviteUser(userIDToInvite)">Invite</button> </span> <button ng-click="leaveRoom()">Leave</button> |