aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlambadalambda <gitgud@rogerbraun.net>2017-02-19 05:43:39 -0500
committerlambadalambda <gitgud@rogerbraun.net>2017-02-19 05:43:39 -0500
commitd45774b4852d059b231baadee9e5dd2081ef8d1a (patch)
treea6c582184476be88ddb70d0053ede44523276558
parent6dbdd322aa02c5e4d834decbd394864d36e4e6e6 (diff)
parent2639427236ec78a5db5540700da0b631cbba5b28 (diff)
Merge branch 'feature/ctrl-enter_posts_status' into 'develop'
Ctrl-enter posts status See merge request !21
-rw-r--r--src/components/post_status_form/post_status_form.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
index b6836b13..1bad41c7 100644
--- a/src/components/post_status_form/post_status_form.vue
+++ b/src/components/post_status_form/post_status_form.vue
@@ -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;