Commit c9a915f2 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review
Browse files

Merge "Bug 1821104: Disable logout link on click"

parents 6b5225ed 34710872
......@@ -98,6 +98,10 @@
color: $navbar-default-link-hover-color;
&.disabled {
color: $btn-link-disabled-color;
cursor: not-allowed;
@include media-breakpoint-up(md) {
border: 1px solid $navbar-default-link-border;
......@@ -162,10 +162,20 @@
<li class="btn-logout has-icon">
<a href="{$WWWROOT}?logout" accesskey="l">
<a id="logoutbutton" href="{$WWWROOT}?logout" accesskey="l">
<span class="icon icon-sign-out" role="presentation" aria-hidden="true"></span>
<span class="nav-title">{str tag="logout"}</span>
$('#logoutbutton').click(function(e) {
if ($(this).hasClass('disabled')) {
return false;
return true;
<li class="backto-be-admin has-icon">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment