Skip to content

Commit 50d2f4e

Browse files
committed
small bugfix with signup when signing up, windows closes correctly now
1 parent c75e8fb commit 50d2f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Frontend/src/js/modals/signup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ document.addEventListener('DOMContentLoaded', function() {
5050
})
5151
.then(data => {
5252
console.log('Success:', data);
53-
document.getElementById('signupModal').querySelector('.close').click(); // Close the modal
53+
history.back();
5454
document.getElementById('signUpForm').reset();
5555
})
5656
.catch(error => {

0 commit comments

Comments
 (0)