mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -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:
@@ -311,9 +311,9 @@ window.qBittorrent.PropFiles ??= (() => {
|
||||
fetch("api/v2/torrents/filePrio", {
|
||||
method: "POST",
|
||||
body: new URLSearchParams({
|
||||
"hash": current_hash,
|
||||
"id": fileIds.join("|"),
|
||||
"priority": priority
|
||||
hash: current_hash,
|
||||
id: fileIds.join("|"),
|
||||
priority: priority
|
||||
})
|
||||
})
|
||||
.then((response) => {
|
||||
@@ -580,7 +580,7 @@ window.qBittorrent.PropFiles ??= (() => {
|
||||
paddingHorizontal: 0,
|
||||
width: 800,
|
||||
height: 420,
|
||||
resizeLimit: { "x": [800], "y": [420] }
|
||||
resizeLimit: { x: [800], y: [420] }
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user