BF: The enter key in the image URL box called sendImage() with no argument

This commit is contained in:
Emmanuel ROHEE 2014-08-19 16:37:31 +02:00
parent c5d601d5cd
commit 4f773de6ba

View file

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