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

ensure media library button is displayed or hidden correctly

This commit is contained in:
Luke Pulverenti 2013-04-18 16:22:45 -04:00
parent 498aa4b31e
commit 8d53d9508c

View file

@ -10,12 +10,6 @@
ApiClient.getUser(userId).done(function (user) {
if (user.Configuration.IsAdministrator) {
$('.lnkMediaLibrary', page).show();
} else {
$('.lnkMediaLibrary', page).hide();
}
$('#uploadUserImage', page).val('').trigger('change');
Dashboard.setPageTitle(user.Name);