mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 06:32:29 -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:
@@ -48,13 +48,13 @@ window.qBittorrent.PiecesBar ??= (() => {
|
||||
const PiecesBar = new Class({
|
||||
initialize: (pieces, parameters) => {
|
||||
const vals = {
|
||||
"id": "piecesbar_" + (piecesBarUniqueId++),
|
||||
"width": 0,
|
||||
"height": 0,
|
||||
"downloadingColor": "hsl(110deg 94% 27%)", // @TODO palette vars not supported for this value, apply average
|
||||
"haveColor": "hsl(210deg 55% 55%)", // @TODO palette vars not supported for this value, apply average
|
||||
"borderSize": 1,
|
||||
"borderColor": "var(--color-border-default)"
|
||||
id: "piecesbar_" + (piecesBarUniqueId++),
|
||||
width: 0,
|
||||
height: 0,
|
||||
downloadingColor: "hsl(110deg 94% 27%)", // @TODO palette vars not supported for this value, apply average
|
||||
haveColor: "hsl(210deg 55% 55%)", // @TODO palette vars not supported for this value, apply average
|
||||
borderSize: 1,
|
||||
borderColor: "var(--color-border-default)"
|
||||
};
|
||||
|
||||
if (parameters && (typeOf(parameters) === "object"))
|
||||
|
||||
Reference in New Issue
Block a user