Skip to content
Snippets Groups Projects
Commit 26394272 authored by shpuld's avatar shpuld
Browse files

Ctrl-enter posts status

parent 6dbdd322
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<div class="post-status-form">
<form @submit.prevent="postStatus(newStatus)">
<div class="form-group" >
<textarea v-model="newStatus.status" placeholder="Just landed in L.A." rows="3" class="form-control"></textarea>
<textarea v-model="newStatus.status" placeholder="Just landed in L.A." rows="3" class="form-control" @keyup.ctrl.enter="postStatus(newStatus)"></textarea>
</div>
<div class="attachments">
<div class="attachment" v-for="file in newStatus.files">
......@@ -66,7 +66,7 @@
padding: 0.3em 0.5em 0.6em;
line-height:24px;
}
form textarea {
border: none;
border-radius: 2px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment