mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 17:12:31 -06:00
WebUI: use template literals instead of string concatenation
PR #22177.
This commit is contained in:
@@ -48,7 +48,7 @@ window.qBittorrent.PiecesBar ??= (() => {
|
||||
const PiecesBar = new Class({
|
||||
initialize: (pieces, parameters) => {
|
||||
const vals = {
|
||||
id: "piecesbar_" + (piecesBarUniqueId++),
|
||||
id: `piecesbar_${piecesBarUniqueId++}`,
|
||||
width: 0,
|
||||
height: 0,
|
||||
downloadingColor: "hsl(110deg 94% 27%)", // @TODO palette vars not supported for this value, apply average
|
||||
|
||||
Reference in New Issue
Block a user