From b3f7878ffc7b74b870d61073c096bab68fc14f63 Mon Sep 17 00:00:00 2001 From: AndzejsP Date: Thu, 18 May 2023 18:08:47 +0300 Subject: [PATCH] more quality --- web/src/components/Discussion.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/web/src/components/Discussion.vue b/web/src/components/Discussion.vue index 9c36819d..6fa778d7 100644 --- a/web/src/components/Discussion.vue +++ b/web/src/components/Discussion.vue @@ -23,7 +23,7 @@

{{ title ? title === "untitled" ? "New discussion" : title : "New discussion" }}

- @@ -139,6 +139,15 @@ export default { this.showConfirmation = newval this.editTitle = newval + if (newval) { + + + nextTick(() => { + this.$refs.titleBox.focus() + + }) + } + }, checkBoxValue(newval, oldval) { this.checkBoxValue_local = newval