examples/server/webui/index.html: assign id="msg-send" to the "Send" button
Giving the button an id is needed to reliably call focus() after mounting. Signed-off-by: Tim Janik <timj@gnu.org>
This commit is contained in:
parent
864a0b67a6
commit
ea489cba8c
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@
|
|||
id="msg-input"
|
||||
dir="auto"
|
||||
></textarea>
|
||||
<button v-if="!isGenerating" class="btn btn-primary ml-2" @click="sendMessage" :disabled="inputMsg.length === 0">Send</button>
|
||||
<button v-if="!isGenerating" class="btn btn-primary ml-2" @click="sendMessage" :disabled="inputMsg.length === 0" id="msg-send">Send</button>
|
||||
<button v-else class="btn btn-neutral ml-2" @click="stopGeneration">Stop</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue