mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
don't open file dialog in enter
This commit is contained in:
parent
cb2a346c26
commit
37fc58865e
1 changed files with 2 additions and 5 deletions
|
@ -136,9 +136,6 @@ function resetFile(event){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ChartJS.register(
|
ChartJS.register(
|
||||||
CategoryScale,
|
CategoryScale,
|
||||||
LinearScale,
|
LinearScale,
|
||||||
|
@ -263,7 +260,7 @@ const speedChartData = computed(() => ({
|
||||||
|
|
||||||
<!-- trigger file selection modal -->
|
<!-- trigger file selection modal -->
|
||||||
|
|
||||||
<button type="button" class="btn btn-outline-secondary border-0 rounded-pill me-1" @click="triggerFileInput">
|
<button type="button" class="btn btn-outline-secondary border-0 rounded-pill me-1" @click="triggerFileInput(), $event.target.blur()">
|
||||||
<i class="bi bi-paperclip" style="font-size: 1.2rem"></i>
|
<i class="bi bi-paperclip" style="font-size: 1.2rem"></i>
|
||||||
|
|
||||||
</button>
|
</button>
|
||||||
|
@ -274,7 +271,7 @@ const speedChartData = computed(() => ({
|
||||||
ref="chatModuleMessage"
|
ref="chatModuleMessage"
|
||||||
placeholder="Message - Send with [Enter]"
|
placeholder="Message - Send with [Enter]"
|
||||||
v-model="chat.inputText"
|
v-model="chat.inputText"
|
||||||
@keyup.enter.exact="transmitNewMessage()"
|
@keyup.enter="transmitNewMessage()"
|
||||||
></textarea>
|
></textarea>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue