maliming
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
4 deletions
-
modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.js
|
|
|
@ -1,8 +1,7 @@ |
|
|
|
document.addEventListener("DOMContentLoaded", function (event) { |
|
|
|
var timer = setTimeout(function () { |
|
|
|
setTimeout(function () { |
|
|
|
var redirectButton = document.getElementById("redirectButton"); |
|
|
|
if (!redirectButton) { |
|
|
|
clearTimeout(timer); |
|
|
|
return; |
|
|
|
} |
|
|
|
var clientName = redirectButton.getAttribute("cname"); |
|
|
|
@ -11,10 +10,8 @@ document.addEventListener("DOMContentLoaded", function (event) { |
|
|
|
} |
|
|
|
var href = redirectButton.getAttribute("href"); |
|
|
|
if (!href) { |
|
|
|
clearTimeout(timer); |
|
|
|
return; |
|
|
|
} |
|
|
|
window.location = href; |
|
|
|
clearTimeout(timer); |
|
|
|
}, 3000); |
|
|
|
}); |
|
|
|
|