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

rework upnp discovery

This commit is contained in:
Luke Pulverenti 2016-09-11 03:33:53 -04:00
parent 3e990981fe
commit 9b12ffa6d7
12 changed files with 25 additions and 50 deletions

View file

@ -19,6 +19,7 @@
var imageUrl;
var fldImage = page.querySelector('#fldImage');
if (user.PrimaryImageTag) {
imageUrl = ApiClient.getUserImageUrl(user.Id, {
@ -31,7 +32,6 @@
imageUrl = "css/images/logindefault.png";
}
var fldImage = page.querySelector('#fldImage');
fldImage.classList.remove('hide');
fldImage.innerHTML = "<img width='140px' src='" + imageUrl + "' />";