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:
parent
3e990981fe
commit
9b12ffa6d7
12 changed files with 25 additions and 50 deletions
|
@ -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 + "' />";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue