aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/user_status/src/components/CustomMessageInput.vue11
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/user_status/src/components/CustomMessageInput.vue b/apps/user_status/src/components/CustomMessageInput.vue
index da985613506..3e121f02e4a 100644
--- a/apps/user_status/src/components/CustomMessageInput.vue
+++ b/apps/user_status/src/components/CustomMessageInput.vue
@@ -35,10 +35,9 @@
:placeholder="$t('user_status', 'What is your status?')"
type="text"
:value="message"
- @change="change"
- @keyup="change"
- @paste="change"
- @keyup.enter="submit">
+ @change="onChange"
+ @keyup="onKeyup"
+ @paste="onKeyup">
</div>
</template>
@@ -97,11 +96,11 @@ export default {
*
* @param {Event} event The Change Event
*/
- change(event) {
+ onKeyup(event) {
this.$emit('change', event.target.value)
},
- submit(event) {
+ onChange(event) {
this.$emit('submit', event.target.value)
},