Revert "[stable25] Allow keyup enter in user status"

This commit is contained in:
Joas Schilling 2023-01-14 03:23:28 +01:00 committed by GitHub
parent 63a1251229
commit 0749d5f65a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 11 deletions

View file

@ -35,9 +35,10 @@
:placeholder="$t('user_status', 'What is your status?')"
type="text"
:value="message"
@change="onChange"
@keyup="onKeyup"
@paste="onKeyup">
@change="change"
@keyup="change"
@paste="change"
@keyup.enter="submit">
</div>
</template>
@ -96,11 +97,11 @@ export default {
*
* @param {Event} event The Change Event
*/
onKeyup(event) {
change(event) {
this.$emit('change', event.target.value)
},
onChange(event) {
submit(event) {
this.$emit('submit', event.target.value)
},

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long