diff options
Diffstat (limited to 'webclient')
-rw-r--r-- | webclient/components/matrix/matrix-service.js | 4 | ||||
-rw-r--r-- | webclient/room/room.html | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js index 828396c866..664c5967af 100644 --- a/webclient/components/matrix/matrix-service.js +++ b/webclient/components/matrix/matrix-service.js @@ -68,9 +68,7 @@ angular.module('matrixService', []) params: params, data: data, headers: headers - }) - - return deferred.promise; + }); }; diff --git a/webclient/room/room.html b/webclient/room/room.html index 36bd95c1bb..8cae7ee515 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -76,7 +76,7 @@ <td> </td> <td> - <input id="mainInput" ng-model="imageURLToSend" ng-enter="sendImage()" placeholder="Image URL"/> + <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> |