mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remote button visibility fix
Every load the remote button would show up before the page rendered - now it won't.
This commit is contained in:
parent
d48854dda8
commit
92c8a6ff62
2 changed files with 3 additions and 1 deletions
|
@ -134,7 +134,7 @@
|
|||
<span id="playExternalButtonContainer" style="display: none;">
|
||||
<a id="btnPlayExternal" data-role="button" data-icon="play" data-inline="true" data-mini="true" href="#" target="_blank">Play</a>
|
||||
</span>
|
||||
<span>
|
||||
<span id="remoteButtonContainer" style="display: none;">
|
||||
<button id="btnRemote" type="button" data-icon="wireless" data-inline="true" data-mini="true">Remote</button>
|
||||
</span>
|
||||
<span id="editButtonContainer" style="display: none;">
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
renderDetails(page, item, context);
|
||||
LibraryBrowser.renderDetailPageBackdrop(page, item);
|
||||
|
||||
$("#remoteButtonContainer", page).show();
|
||||
|
||||
if (user.Configuration.IsAdministrator) {
|
||||
$('#editButtonContainer', page).show();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue