Skip to content

Commit

Permalink
Step 3.18: Add chat view
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB authored and Dotan Simha committed Nov 23, 2016
1 parent 22354b7 commit db37383
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/templates/chat.html
Expand Up @@ -18,7 +18,10 @@
<label class="item-input-wrapper">
<input ng-model="chat.message"
dir="auto"
type="text"/>
type="text"
on-return="chat.sendMessage(); chat.closeKeyboard()"
on-focus="chat.inputUp()"
on-blur="chat.inputDown()"/>
</label>

<span ng-if="chat.message.length > 0">
Expand Down

0 comments on commit db37383

Please sign in to comment.