Skip to content

Commit

Permalink
Disable submit button after start transferring (#212)
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Lau <vincent@mobile.hkcoldtea.com>
  • Loading branch information
hkcoldtea and Vincent Lau authored Mar 12, 2022
1 parent 64227a4 commit a762e15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/pages.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ var Upload = `
</svg>
</div>
<div class="row">
<form id="upload-form">
<form id="upload-form" onsubmit="submit.value = 'Transferring file, please wait.';
submit.disabled = true; return true;">
<h3>Send files or text</h3>
<div class="form-group">
<label for="files">
Expand Down

0 comments on commit a762e15

Please sign in to comment.