mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
cleanup sidebar selection on media library page
This commit is contained in:
parent
77d1bd48e6
commit
d3951c232a
2 changed files with 2 additions and 10 deletions
|
@ -20,14 +20,6 @@
|
|||
$('#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);
|
||||
|
||||
$('#fldUseDefaultLibrary', page).show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue