mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix recording button
This commit is contained in:
parent
02b433a97f
commit
c73ed976d9
30 changed files with 165 additions and 129 deletions
|
@ -420,10 +420,10 @@
|
|||
Dashboard.navigate('itemdetails.html?id=' + albumid);
|
||||
break;
|
||||
case 'artist':
|
||||
Dashboard.navigate('tembynamedetails.html?context=music&id=' + artistid);
|
||||
Dashboard.navigate('itembynamedetails.html?context=music&id=' + artistid);
|
||||
break;
|
||||
case 'play':
|
||||
MediaController.MediaController(itemId);
|
||||
MediaController.play(itemId);
|
||||
break;
|
||||
case 'playallfromhere':
|
||||
$(card).parents('.itemsContainer').trigger('playallfromhere', [index]);
|
||||
|
@ -1075,6 +1075,11 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
function resetImages(page) {
|
||||
|
||||
$('.cardImage', page).remove();
|
||||
}
|
||||
|
||||
$(document).on('pageinitdepends', ".libraryPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
@ -1127,6 +1132,11 @@
|
|||
hideSelections(page);
|
||||
|
||||
$('.viewTabButton:first', page).trigger('click');
|
||||
|
||||
}).on('pagebeforehide', ".libraryPage", function () {
|
||||
|
||||
var page = this;
|
||||
resetImages(page);
|
||||
});
|
||||
|
||||
function renderUserDataChanges(card, userData) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue