mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
re-org scripts
This commit is contained in:
parent
9fecb9f7c4
commit
d2f14592e9
6 changed files with 5 additions and 10 deletions
|
@ -374,7 +374,6 @@
|
|||
var playbackPositionTicks = parseInt(card.getAttribute('data-positionticks') || '0');
|
||||
var playAccess = card.getAttribute('data-playaccess');
|
||||
var locationType = card.getAttribute('data-locationtype');
|
||||
var isPlaceHolder = card.getAttribute('data-placeholder') == 'true';
|
||||
var index = card.getAttribute('data-index');
|
||||
|
||||
$(card).addClass('hasContextMenu');
|
||||
|
@ -413,7 +412,7 @@
|
|||
|
||||
if (options.showPlayOptions !== false) {
|
||||
|
||||
if (MediaController.canPlayByAttributes(itemType, mediaType, playAccess, locationType, isPlaceHolder)) {
|
||||
if (MediaController.canPlayByAttributes(itemType, mediaType, playAccess, locationType)) {
|
||||
html += '<li data-icon="play"><a href="#" class="btnPlay" data-itemid="' + itemId + '">' + Globalize.translate('ButtonPlay') + '</a></li>';
|
||||
|
||||
if (commands.indexOf('playfromhere') != -1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue