mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove trigger create when not needed
This commit is contained in:
parent
76c2164aeb
commit
df4f347fb4
9 changed files with 28 additions and 43 deletions
|
@ -2617,7 +2617,7 @@
|
|||
Dashboard.setPageTitle(name);
|
||||
|
||||
if (linkToElement) {
|
||||
nameElem.html('<a class="detailPageParentLink" href="' + LibraryBrowser.getHref(item, context) + '">' + name + '</a>').trigger('create');
|
||||
nameElem.html('<a class="detailPageParentLink" href="' + LibraryBrowser.getHref(item, context) + '">' + name + '</a>');
|
||||
} else {
|
||||
nameElem.html(name);
|
||||
}
|
||||
|
@ -2659,7 +2659,7 @@
|
|||
}
|
||||
|
||||
if (html.length) {
|
||||
parentNameElem.show().html(html.join(' - ')).trigger('create');
|
||||
parentNameElem.show().html(html.join(' - '));
|
||||
} else {
|
||||
parentNameElem.hide();
|
||||
}
|
||||
|
@ -2690,7 +2690,7 @@
|
|||
html = Globalize.translate('ValueLinks', html);
|
||||
|
||||
linksElem.innerHTML = html;
|
||||
$(linksElem).trigger('create');
|
||||
$(linksElem);
|
||||
$(linksElem).show();
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue