mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
WebUI: disallow unnecessary quotes in property name
Those two forms are the same and from now on we enforce to one style. PR #22051.
This commit is contained in:
@@ -724,25 +724,25 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||
};
|
||||
|
||||
const statusSortOrder = Object.freeze({
|
||||
"unknown": -1,
|
||||
"forcedDL": 0,
|
||||
"downloading": 1,
|
||||
"forcedMetaDL": 2,
|
||||
"metaDL": 3,
|
||||
"stalledDL": 4,
|
||||
"forcedUP": 5,
|
||||
"uploading": 6,
|
||||
"stalledUP": 7,
|
||||
"checkingResumeData": 8,
|
||||
"queuedDL": 9,
|
||||
"queuedUP": 10,
|
||||
"checkingUP": 11,
|
||||
"checkingDL": 12,
|
||||
"stoppedDL": 13,
|
||||
"stoppedUP": 14,
|
||||
"moving": 15,
|
||||
"missingFiles": 16,
|
||||
"error": 17
|
||||
unknown: -1,
|
||||
forcedDL: 0,
|
||||
downloading: 1,
|
||||
forcedMetaDL: 2,
|
||||
metaDL: 3,
|
||||
stalledDL: 4,
|
||||
forcedUP: 5,
|
||||
uploading: 6,
|
||||
stalledUP: 7,
|
||||
checkingResumeData: 8,
|
||||
queuedDL: 9,
|
||||
queuedUP: 10,
|
||||
checkingUP: 11,
|
||||
checkingDL: 12,
|
||||
stoppedDL: 13,
|
||||
stoppedUP: 14,
|
||||
moving: 15,
|
||||
missingFiles: 16,
|
||||
error: 17
|
||||
});
|
||||
|
||||
let syncMainDataTimeoutID = -1;
|
||||
|
||||
Reference in New Issue
Block a user