Aevann 2024-11-14 15:30:01 +02:00
parent 36e14a69fa
commit 3be75254bc
1 changed files with 2 additions and 2 deletions

View File

@ -227,9 +227,9 @@
<div style="display:flex;align-items:center" class="mb-3">
<img loading="lazy" id="image-preview" class="mt-2 mb-3" style="max-width:50%" data-nonce="{{g.nonce}}" data-onclick="expandImage()">
<label class="btn btn-secondary m-0 mr-1" for="file-upload-edit-attachement">
<label class="btn btn-secondary m-0 mr-1" for="file-upload-edit-attachment">
<div>Select File</div>
<input autocomplete="off" class="nofocuspasting" id="file-upload-edit-attachement" accept="image/*, video/*, audio/*" type="file" name="file-url" {% if g.is_tor %}disabled{% endif %} hidden>
<input autocomplete="off" class="nofocuspasting" id="file-upload-edit-attachment" accept="image/*, video/*, audio/*" type="file" name="file-url" {% if g.is_tor %}disabled{% endif %} hidden>
</label>
<button id="remove-attachment" type="button" style="font-size:25px" class="text-danger font-weight-bold ml-2 d-none" data-nonce="{{g.nonce}}" data-onclick="remove_attachment()">X</button>
</div>