PhotosAPI/pages/register/script.js

7 lines
210 B
JavaScript
Raw Normal View History

2022-12-20 16:34:47 +02:00
// JavaScript is used for toggling loading state
var form = document.querySelector('form');
form.onsubmit = function (event) {
event.preventDefault();
form.classList.add('signed');
2023-01-12 17:21:33 +02:00
form.submit();
2022-12-20 16:34:47 +02:00
};