mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Made logout button live
This commit is contained in:
parent
3a6c782ba1
commit
b0849d4104
@ -51,6 +51,6 @@ ComunicWeb.components.menuBar.authenticated = {
|
||||
var logoutButton = createElem("li", dropdownContent);
|
||||
var logoutButtonLink = createElem("a", logoutButton);
|
||||
logoutButtonLink.innerHTML = "Logout";
|
||||
logoutButton.onclick
|
||||
logoutButton.onclick = function(){openPage("logout")};
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user