1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

extra text, user profile sidebar highlight when comming from that section to media library

This commit is contained in:
Techywarrior 2013-04-02 16:42:17 -07:00
parent e2cc657ac7
commit 14b5d4fe8a
2 changed files with 9 additions and 1 deletions

View file

@ -20,6 +20,13 @@
$('#userProfileNavigation', page).show();
ApiClient.getUser(userId).done(function (user) {
//I don't really like this hack - Craig
$("div.sidebarLinks a").removeClass("selectedSidebarLink");
$("div.sidebarLinks a").each(function(){
if ($(this).attr("href")=="userprofiles.html") {
$(this).addClass("selectedSidebarLink");
}
});
Dashboard.setPageTitle(user.Name);