🎨 登出重定向

This commit is contained in:
Liang Ding 2019-02-11 00:13:38 +08:00
parent 4b5e8d897d
commit e3c64f977f
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ var MetroHot = {
// logout
var logoutHref = "";
$("#admin a").each(function() {
if ($(this).attr("href").indexOf("/logout?goto=") > -1) {
if ($(this).attr("href").indexOf("/logout") > -1) {
logoutHref = $(this).attr("href");
}
});