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:
Chocobo1
2024-12-24 22:25:18 +08:00
committed by GitHub
parent bbc3c2832f
commit 7487cd7e6d
41 changed files with 144 additions and 143 deletions

View File

@@ -600,7 +600,7 @@ const initializeWindows = () => {
url: "api/v2/torrents/recheck",
method: "post",
data: {
"hashes": hashes.join("|"),
hashes: hashes.join("|"),
},
onSuccess: () => {
updateMainData();
@@ -694,7 +694,7 @@ const initializeWindows = () => {
paddingHorizontal: 0,
width: 800,
height: 420,
resizeLimit: { "x": [800], "y": [420] }
resizeLimit: { x: [800], y: [420] }
});
}
}