mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-06-30 23:12:16 +02:00
Fix: services pagination. Fix: login/signup auto-redirect to homepage if already logged in
This commit is contained in:
@@ -100,9 +100,6 @@
|
||||
'auth-message auth-message--success';
|
||||
document.getElementById('auth-message').style.display = 'block';
|
||||
document.getElementById('login-form').style.display = 'none';
|
||||
setTimeout(function () {
|
||||
window.location.href = '/';
|
||||
}, 1500);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -130,6 +127,7 @@
|
||||
var submitBtn = document.getElementById('login-submit');
|
||||
var eyeBtn = form.querySelector('.auth-form__eye');
|
||||
var pwdInput = document.getElementById('login-password');
|
||||
var pwdInput = document.getElementById('login-password');
|
||||
|
||||
eyeBtn.addEventListener('click', function () {
|
||||
var isText = pwdInput.type === 'text';
|
||||
|
||||
Reference in New Issue
Block a user