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

Merge pull request #856 from thornbill/lint-licker

Add eslint:recommended to eslint config
This commit is contained in:
dkanada 2020-02-27 01:26:00 +09:00 committed by GitHub
commit e5a978feeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 91 additions and 119 deletions

View file

@ -89,20 +89,6 @@ define(['dialogHelper', 'globalize', 'userSettings', 'layoutManager', 'connectio
}
}
function onSortByChange() {
var newValue = this.value;
if (this.checked) {
var changed = options.query.SortBy !== newValue;
options.query.SortBy = newValue.replace('_', ',');
options.query.StartIndex = 0;
if (options.callback && changed) {
options.callback();
}
}
}
function showEditor(options) {
return new Promise(function (resolve, reject) {