mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
Apply suggestions from code review
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
parent
280aeb5d92
commit
155bd44506
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,8 @@ window.qBittorrent.PiecesBar ??= (() => {
|
|||
const obj = document.createElement("div");
|
||||
obj.id = vals.id;
|
||||
obj.className = "piecesbarWrapper";
|
||||
obj.style = `border: ${vals.borderSize}px solid ${vals.borderColor}; height: ${vals.height}px;`;
|
||||
obj.style.border = `${vals.borderSize}px solid ${vals.borderColor}`;
|
||||
obj.style.height = `${vals.height}px`;
|
||||
obj.vals = vals;
|
||||
obj.vals.pieces = [pieces, []].pick();
|
||||
|
||||
|
|
|
@ -380,7 +380,6 @@ window.qBittorrent.Search ??= (() => {
|
|||
statusIcon.className = "statusIcon";
|
||||
statusIcon.width = "12";
|
||||
statusIcon.height = "12";
|
||||
|
||||
return statusIcon;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue