1
0
Fork 0
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:
Tim Hobbs 2014-03-17 17:07:17 -07:00
parent d48854dda8
commit 92c8a6ff62
2 changed files with 3 additions and 1 deletions

View file

@ -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;">

View file

@ -29,6 +29,8 @@
renderDetails(page, item, context);
LibraryBrowser.renderDetailPageBackdrop(page, item);
$("#remoteButtonContainer", page).show();
if (user.Configuration.IsAdministrator) {
$('#editButtonContainer', page).show();