mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Yeet JQuery in favor of vanilla JS
This commit is contained in:
parent
c7e38dfcfb
commit
6f759bb678
7 changed files with 106 additions and 94 deletions
|
@ -54,7 +54,7 @@ function login(event) {
|
|||
}
|
||||
|
||||
// Make form
|
||||
var formData = new FormData();
|
||||
let formData = new FormData();
|
||||
formData.append("username", formUsername);
|
||||
formData.append("password", formPassword);
|
||||
|
||||
|
@ -153,7 +153,7 @@ function register(event) {
|
|||
}
|
||||
|
||||
// Make form
|
||||
var formData = new FormData();
|
||||
let formData = new FormData();
|
||||
formData.append("username", formUsername);
|
||||
formData.append("email", formEmail);
|
||||
formData.append("password", formPassword);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue