fix(view): add ID to upload button for easier access

Added an ID to the upload button in the file sharing section to facilitate easier DOM manipulation and element targeting. This enhancement ensures more robust and maintainable code, critical for future updates and potential automation tasks.
This commit is contained in:
Kumi 2024-06-15 14:53:51 +02:00
parent 4fff64e4e4
commit aa1e4d028a
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -23,7 +23,7 @@
<div class="section" id="uploadSection">
<h2>Share File</h2>
<input type="file" id="fileInput" />
<button onclick="uploadFile()">Share</button>
<button id="uploadButton" onclick="uploadFile()">Share</button>
<div class="result" id="uploadResult"></div>
<div class="result" id="uploadStats"></div>
<button