mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
11 lines
558 B
JavaScript
11 lines
558 B
JavaScript
$(document).on('pageshowready', ".userPreferencesPage", function () {
|
|
|
|
var page = this;
|
|
|
|
var userId = getParameterByName('userId') || Dashboard.getCurrentUserId();
|
|
|
|
$('.lnkDisplayPreferences', page).attr('href', 'mypreferencesdisplay.html?userId=' + userId);
|
|
$('.lnkLanguagePreferences', page).attr('href', 'mypreferenceslanguages.html?userId=' + userId);
|
|
$('.lnkWebClientPreferences', page).attr('href', 'mypreferenceswebclient.html?userId=' + userId);
|
|
$('.lnkMyProfile', page).attr('href', 'myprofile.html?userId=' + userId);
|
|
}); |