1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix medialibrary.js, lint and convert variable declerations

This commit is contained in:
Cameron 2020-07-09 11:36:54 +01:00
parent e230e05e6e
commit fd21f2198d
4 changed files with 38 additions and 38 deletions

View file

@ -14,7 +14,7 @@ import globalize from 'globalize';
function onSubmit() {
loading.show();
var form = this;
const form = this;
ApiClient.getServerConfiguration().then(function (config) {
config.MinResumePct = $('#txtMinResumePct', form).val();
config.MaxResumePct = $('#txtMaxResumePct', form).val();
@ -44,7 +44,7 @@ import globalize from 'globalize';
}).on('pageshow', '#playbackConfigurationPage', function () {
loading.show();
libraryMenu.setTabs('playback', 1, getTabs);
var page = this;
const page = this;
ApiClient.getServerConfiguration().then(function (config) {
loadPage(page, config);
});