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:
parent
e2cc657ac7
commit
14b5d4fe8a
2 changed files with 9 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue