Skip to content

Commit

Permalink
web update v1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantom-fs authored Apr 19, 2024
1 parent 6099957 commit 0264169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion js/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,8 @@ function submitRecording() {
body: formData,
headers: {
'Content-Type': 'multipart/form-data'
}
},
mode: 'cors'
})
.then(response => response.json())
.then(data => {
Expand Down
3 changes: 2 additions & 1 deletion js/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
document.getElementById("loginForm").addEventListener("submit", function(event) {
event.preventDefault(); // Prevent form submission

var name = document.getElementById("name").value.trim();
var nameR = document.getElementById("name").value;
var name = nameR.trim();
var reg = document.getElementById("reg").value;
var email = document.getElementById("email").value;
var phone = document.getElementById("phone").value;
Expand Down

0 comments on commit 0264169

Please sign in to comment.