mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -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:
@@ -41,18 +41,18 @@ window.qBittorrent.FileTree ??= (() => {
|
||||
};
|
||||
|
||||
const FilePriority = {
|
||||
"Ignored": 0,
|
||||
"Normal": 1,
|
||||
"High": 6,
|
||||
"Maximum": 7,
|
||||
"Mixed": -1
|
||||
Ignored: 0,
|
||||
Normal: 1,
|
||||
High: 6,
|
||||
Maximum: 7,
|
||||
Mixed: -1
|
||||
};
|
||||
Object.freeze(FilePriority);
|
||||
|
||||
const TriState = {
|
||||
"Unchecked": 0,
|
||||
"Checked": 1,
|
||||
"Partial": 2
|
||||
Unchecked: 0,
|
||||
Checked: 1,
|
||||
Partial: 2
|
||||
};
|
||||
Object.freeze(TriState);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user