mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3609 from sancodes/eslint-no-sequences
Eslint no sequences
This commit is contained in:
commit
79db34a2a7
11 changed files with 41 additions and 14 deletions
|
@ -43,11 +43,13 @@ import Dashboard from '../../utils/dashboard';
|
|||
|
||||
function onSubmit() {
|
||||
const form = this;
|
||||
return loading.show(), ApiClient.getServerConfiguration().then(function(config) {
|
||||
loading.show();
|
||||
ApiClient.getServerConfiguration().then(function(config) {
|
||||
config.PreferredMetadataLanguage = form.querySelector('#selectLanguage').value;
|
||||
config.MetadataCountryCode = form.querySelector('#selectCountry').value;
|
||||
ApiClient.updateServerConfiguration(config).then(Dashboard.processServerConfigurationUpdateResult);
|
||||
}), !1;
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
function getTabs() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue