mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
BF: The enter key in the image URL box called sendImage() with no argument
This commit is contained in:
parent
c5d601d5cd
commit
4f773de6ba
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue