diff --git a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.cshtml b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.cshtml
index 3e3e9857a1..0e7b14236a 100644
--- a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.cshtml
+++ b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.cshtml
@@ -21,7 +21,7 @@
@L["LoggedOutText"]
@if (Model.PostLogoutRedirectUri != null)
{
- @L["ReturnToText", Model.ClientName]
+ @L["ReturnToText", Model.ClientName]
}
@if (Model.SignOutIframeUrl != null)
{
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 6341b27ea7..950bf65719 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,6 +1,5 @@
-(function ($) {
- //TODO:gterdem There should be an option to set the redirect delay here
+document.addEventListener("DOMContentLoaded", function (event) {
setTimeout(function () {
- window.location = $('.redirectButton').attr('href');
+ window.location = document.getElementById("redirectButton").getAttribute("href");
}, 3000)
-})(JQuery)
+});