mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
removes useless connectlinktype check
This commit is contained in:
parent
4144d929e7
commit
0fe1d350e6
@ -36,13 +36,8 @@ define(["jQuery", "loading", "libraryMenu", "fnchecked"], function($, loading, l
|
||||
} else {
|
||||
$(".disabledUserBanner", page).hide();
|
||||
}
|
||||
if ("Guest" == user.ConnectLinkType) {
|
||||
$("#fldConnectInfo", page).hide();
|
||||
$("#txtUserName", page).prop("disabled", "disabled");
|
||||
} else {
|
||||
$("#txtUserName", page).prop("disabled", "").removeAttr("disabled");
|
||||
$("#fldConnectInfo", page).show();
|
||||
}
|
||||
$("#txtUserName", page).prop("disabled", "").removeAttr("disabled");
|
||||
$("#fldConnectInfo", page).show();
|
||||
$(".lnkEditUserPreferences", page).attr("href", "mypreferencesmenu.html?userId=" + user.Id);
|
||||
libraryMenu.setTitle(user.Name);
|
||||
page.querySelector(".username").innerHTML = user.Name;
|
||||
|
Loading…
Reference in New Issue
Block a user