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

Fix parental control hiding

This commit is contained in:
Eric Reed 2013-05-30 13:43:59 -04:00
parent e9151293fa
commit 2ceb7e0ff0
2 changed files with 15 additions and 12 deletions

View file

@ -57,9 +57,10 @@
function loadUser(page, user, loggedInUser, parentalRatingsPromise, allCulturesPromise) {
if (!loggedInUser.Configuration.IsAdministrator) {
$('#parentalControlDiv', page).hide();
$('#fldIsAdmin', page).hide();
} else {
$('#parentalControlDiv', page).show();
$('#fldIsAdmin', page).show();
}