This commit is contained in:
calzoneman 2016-01-31 11:17:19 -08:00
parent ba54848db5
commit 65d4ea9496
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ mixin navdefaultlinks(page)
b.caret
ul.dropdown-menu
if loggedIn
li: a(href="/logout?dest=#{encodeURIComponent(baseUrl + page)}&_csrf=#{csrfToken}") Logout
li: a(href="javascript:$('#logoutform').submit();") Log out
li.divider
li: a(href="#{loginDomain}/account/channels") Channels
li: a(href="#{loginDomain}/account/profile") Profile
@ -72,5 +72,5 @@ mixin navlogoutform(redirect)
input(type="hidden", name="_csrf", value=csrfToken)
span#welcome Welcome, #{loginName}
span  · 
input#logout.navbar-link(type="submit", value="Logout")
input#logout.navbar-link(type="submit", value="Log out")