Made logout button live

This commit is contained in:
Pierre 2017-05-25 13:57:38 +02:00
parent 3a6c782ba1
commit b0849d4104

View File

@ -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")};
}
};