mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
sync updates
This commit is contained in:
parent
4ad1f56376
commit
9f3dd3d2e6
4 changed files with 67 additions and 5 deletions
|
@ -82,7 +82,7 @@
|
|||
|
||||
html += "<div class='posterItemDefaultText posterItemText'>";
|
||||
html += '<i class="fa ' + icon + '"></i>';
|
||||
html += item.Name;
|
||||
html += '<span>' + item.Name + '</span>';
|
||||
html += "</div>";
|
||||
|
||||
html += "</a>";
|
||||
|
@ -315,7 +315,12 @@
|
|||
|
||||
$('a.posterItem', elem).on('click', function () {
|
||||
|
||||
var text = $('.posterItemText', this).html();
|
||||
var textElem = $('.posterItemText span', this);
|
||||
|
||||
if (!textElem.length) {
|
||||
textElem = $('.posterItemText', this);
|
||||
}
|
||||
var text = textElem.html();
|
||||
|
||||
LibraryMenu.setText(text);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue