🎨 登出重定向
This commit is contained in:
parent
4b5e8d897d
commit
e3c64f977f
@ -32,7 +32,7 @@ var MetroHot = {
|
|||||||
// logout
|
// logout
|
||||||
var logoutHref = "";
|
var logoutHref = "";
|
||||||
$("#admin a").each(function() {
|
$("#admin a").each(function() {
|
||||||
if ($(this).attr("href").indexOf("/logout?goto=") > -1) {
|
if ($(this).attr("href").indexOf("/logout") > -1) {
|
||||||
logoutHref = $(this).attr("href");
|
logoutHref = $(this).attr("href");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user