mirror of
https://github.com/thelounge/thelounge
synced 2024-11-15 00:37:13 +00:00
Disable upload button instead of removing it from dom.
This commit is contained in:
parent
dd686b563d
commit
cd76512619
1 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
@input="setPendingMessage"
|
||||
@keypress.enter.exact.prevent="onSubmit" />
|
||||
<span
|
||||
v-if="this.$root.isConnected && this.$root.isFileUploadEnabled"
|
||||
v-if="this.$root.isFileUploadEnabled"
|
||||
id="upload-tooltip"
|
||||
class="tooltipped tooltipped-w tooltipped-no-touch"
|
||||
aria-label="Upload File"
|
||||
|
@ -28,7 +28,8 @@
|
|||
<button
|
||||
id="upload"
|
||||
type="button"
|
||||
aria-label="Upload file" />
|
||||
aria-label="Upload file"
|
||||
:disabled="!this.$root.isConnected" />
|
||||
</span>
|
||||
<span
|
||||
id="submit-tooltip"
|
||||
|
|
Loading…
Reference in a new issue