summary refs log tree commit diff
path: root/webclient/room/room.html
diff options
context:
space:
mode:
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r--webclient/room/room.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index 8cae7ee515..1ca28b20fe 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -63,10 +63,10 @@
                         {{ state.user_id }} 
                     </td>
                     <td width="*" style="min-width: 100px">
-                        <input id="mainInput" ng-model="textInput" ng-enter="send()" ng-focus="true" auto-complete/>
+                        <input id="mainInput" ng-model="textInput" ng-enter="send()" ng-disabled="state.sending" ng-focus="true" auto-complete/>
                     </td>
                     <td width="1">
-                        <button ng-click="send()">Send</button>
+                        <button ng-click="send()" ng-disabled="state.sending">Send</button>
                     </td>
                     <td width="1">
                         
@@ -79,7 +79,7 @@
                         <input id="mainInput" ng-model="imageURLToSend" ng-enter="sendImage(imageURLToSend)" placeholder="Image URL"/>
                     </td>
                     <td width="100px">
-                        <button ng-click="sendImage(imageURLToSend)">Send URL</button>
+                        <button ng-click="sendImage(imageURLToSend)" ng-disabled="state.sending">Send URL</button>
                     </td>
                     <!-- TODO: To enable once we have an upload server
                     <td width="100px">