bold active section in account page

v1.18.x
Baris Usakli 12 years ago
parent d4d4c3cc92
commit c4228be86c

@ -201,6 +201,10 @@ footer.footer {
font-weight:bold; font-weight:bold;
} }
.bold {
font-weight: bold;
}
.account-block { .account-block {
div { div {
padding-bottom:10px; padding-bottom:10px;

@ -14,7 +14,6 @@
</div>'); </div>');
$('.account-username-box').append(links); $('.account-username-box').append(links);
} }
$(document).ready(function() { $(document).ready(function() {
@ -31,6 +30,13 @@
favouritesLink.hide(); favouritesLink.hide();
} }
jQuery('.account-sub-links span a').removeClass('bold').each(function() {
var href = this.getAttribute('href');
if (window.location.href.indexOf(href) !== -1) {
jQuery(this).addClass('bold');
return false;
}
});
}); });
}()); }());
Loading…
Cancel
Save