mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
add people to similar queries
This commit is contained in:
parent
84d590fd7c
commit
417821cb5a
@ -132,7 +132,7 @@
|
|||||||
elem.querySelector('.recordingItems').innerHTML = html;
|
elem.querySelector('.recordingItems').innerHTML = html;
|
||||||
|
|
||||||
ImageLoader.lazyChildren(elem);
|
ImageLoader.lazyChildren(elem);
|
||||||
$(elem).createCardMenus();
|
LibraryBrowser.createCardMenus(elem);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
var page = this;
|
var page = this;
|
||||||
|
|
||||||
$('.btnLogout', page).on('click', function () {
|
page.querySelector('.btnLogout').addEventListener('click', function () {
|
||||||
|
|
||||||
Dashboard.logout();
|
Dashboard.logout();
|
||||||
});
|
});
|
||||||
@ -15,11 +15,11 @@ pageIdOn('pageshow', 'myPreferencesMenuPage', function () {
|
|||||||
|
|
||||||
var userId = getParameterByName('userId') || Dashboard.getCurrentUserId();
|
var userId = getParameterByName('userId') || Dashboard.getCurrentUserId();
|
||||||
|
|
||||||
$('.lnkDisplayPreferences', page).attr('href', 'mypreferencesdisplay.html?userId=' + userId);
|
page.querySelector('.lnkDisplayPreferences').setAttribute('href', 'mypreferencesdisplay.html?userId=' + userId);
|
||||||
$('.lnkLanguagePreferences', page).attr('href', 'mypreferenceslanguages.html?userId=' + userId);
|
page.querySelector('.lnkLanguagePreferences').setAttribute('href', 'mypreferenceslanguages.html?userId=' + userId);
|
||||||
$('.lnkHomeScreenPreferences', page).attr('href', 'mypreferenceshome.html?userId=' + userId);
|
page.querySelector('.lnkHomeScreenPreferences').setAttribute('href', 'mypreferenceshome.html?userId=' + userId);
|
||||||
$('.lnkMyProfile', page).attr('href', 'myprofile.html?userId=' + userId);
|
page.querySelector('.lnkMyProfile').setAttribute('href', 'myprofile.html?userId=' + userId);
|
||||||
$('.lnkSync', page).attr('href', 'mysyncsettings.html?userId=' + userId);
|
page.querySelector('.lnkSync').setAttribute('href', 'mysyncsettings.html?userId=' + userId);
|
||||||
|
|
||||||
if (Dashboard.capabilities().SupportsSync) {
|
if (Dashboard.capabilities().SupportsSync) {
|
||||||
page.querySelector('.lnkSync').classList.remove('hide');
|
page.querySelector('.lnkSync').classList.remove('hide');
|
||||||
|
Loading…
Reference in New Issue
Block a user