login indicator duplicity bugfix
This commit is contained in:
parent
3f0e07cba2
commit
815a929ac5
@ -59,8 +59,10 @@ function show_register()
|
||||
|
||||
function set_login_uname(uname)
|
||||
{
|
||||
if (document.getElementById("login_indicator").style.visibility == "visible") return;
|
||||
|
||||
document.getElementById("login_indicator").style.visibility = "visible";
|
||||
document.getElementById("login_indicator").innerText += " " + uname;
|
||||
document.getElementById("login_indicator_text").innerText += " " + uname;
|
||||
|
||||
document.getElementById("login_buttons").style.visibility = "hidden";
|
||||
document.getElementById("logout_button").style.visibility = "visible";
|
||||
|
Loading…
x
Reference in New Issue
Block a user