mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +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 logoutButton = createElem("li", dropdownContent);
|
||||||
var logoutButtonLink = createElem("a", logoutButton);
|
var logoutButtonLink = createElem("a", logoutButton);
|
||||||
logoutButtonLink.innerHTML = "Logout";
|
logoutButtonLink.innerHTML = "Logout";
|
||||||
logoutButton.onclick
|
logoutButton.onclick = function(){openPage("logout")};
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user