1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

Only enable save button when content is not empty

This commit is contained in:
Lukas Schulte Pelkum
2022-01-30 15:12:34 +01:00
parent e8e2b49466
commit 7a8d8e1573
2 changed files with 8 additions and 3 deletions

View File

@@ -35,7 +35,7 @@
<line x1="12" y1="9" x2="12" y2="15" />
</svg>
</button>
<button class="button" id="btn_save" title="Save paste (Ctrl + S)">
<button class="button" id="btn_save" title="Save paste (Ctrl + S)" disabled>
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-device-floppy" width="40"
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
stroke-linecap="round" stroke-linejoin="round">