Enable enter key in the invite input

pull/10/head
Emmanuel ROHEE 2014-09-11 13:43:55 +02:00
parent cc049851d0
commit c92740e8a9
1 changed files with 1 additions and 1 deletions

View File

@ -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>