From 1137d91df6fbdd51034d3266f284f3fcec53e810 Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 28 Jul 2025 10:08:10 +0800 Subject: [PATCH] Update LoggedOut.js --- .../src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.js b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.js index 3491167e47..4c86d11ffd 100644 --- a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.js +++ b/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); });