Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a56dbc0d authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

Apply 1 suggestion(s) to 1 file(s)



Co-authored-by: Ronak Patel's avatarRonak Patel <ronak.patel@e.email>
parent ae8c922c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ document.addEventListener('DOMContentLoaded', function() {
	})
	// NEW: redirect ONLY when .login-form__link is clicked
	document.addEventListener('click', function(event) {
		if (event.target.classList.contains('login-form__link')) {
		if (event.target.closest('.login-form__link')) {
			window.location.href = '/';
		}
		  // Look for the Back button only inside the passwordless login container