Minor fix
This commit is contained in:
parent
05a51f74a7
commit
38397248c6
@ -71,7 +71,10 @@ $(function() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
body.addClass("signed-out");
|
body.addClass("signed-out");
|
||||||
login.find("input[name='user']").val($.cookie("user") || "");
|
var input = login.find("input[name='user']");
|
||||||
|
if (input.val() === "") {
|
||||||
|
input.val($.cookie("user") || "");
|
||||||
|
}
|
||||||
sidebar.find(".sign-in")
|
sidebar.find(".sign-in")
|
||||||
.click()
|
.click()
|
||||||
.end()
|
.end()
|
||||||
|
Loading…
Reference in New Issue
Block a user