mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updates to lint and profile
This commit is contained in:
parent
ee54d4efdb
commit
5545c05089
4 changed files with 3 additions and 5 deletions
|
@ -6,7 +6,6 @@ import globalize from 'globalize';
|
|||
import 'listViewStyle';
|
||||
import 'paper-icon-button-light';
|
||||
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
function populateRatings(allParentalRatings, page) {
|
||||
|
|
|
@ -3,7 +3,6 @@ import libraryMenu from 'libraryMenu';
|
|||
import globalize from 'globalize';
|
||||
import 'emby-button';
|
||||
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
function loadUser(page, params) {
|
||||
|
@ -187,6 +186,6 @@ import 'emby-button';
|
|||
view.addEventListener('viewshow', function () {
|
||||
loadUser(view, params);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
/* eslint-enable indent */
|
||||
|
|
|
@ -276,5 +276,5 @@ import 'flexStyles';
|
|||
pageIdOn('pagebeforeshow', 'userProfilesPage', function () {
|
||||
loadData(this);
|
||||
});
|
||||
|
||||
|
||||
/* eslint-enable indent */
|
||||
|
|
|
@ -83,7 +83,7 @@ define(['controllers/dashboard/users/userpasswordpage', 'loading', 'libraryMenu'
|
|||
|
||||
return function (view, params) {
|
||||
reloadUser(view);
|
||||
new UserPasswordPage(view, params);
|
||||
new UserPasswordPage.default(view, params);
|
||||
view.querySelector('#btnDeleteImage').addEventListener('click', function () {
|
||||
require(['confirm'], function (confirm) {
|
||||
confirm(globalize.translate('DeleteImageConfirmation'), globalize.translate('DeleteImage')).then(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue