Apply code formatting

This commit is contained in:
Chocobo1 2021-03-24 14:00:27 +08:00
parent 45465e994e
commit 121ff2b7be
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
19 changed files with 264 additions and 253 deletions

View file

@ -444,8 +444,8 @@ window.qBittorrent.PropFiles = (function() {
if (folderNode === null) {
folderNode = new window.qBittorrent.FileTree.FolderNode();
folderNode.path = (parent.path === "")
? folderName
: [parent.path, folderName].join(window.qBittorrent.Filesystem.PathSeparator);
? folderName
: [parent.path, folderName].join(window.qBittorrent.Filesystem.PathSeparator);
folderNode.name = folderName;
folderNode.rowId = rowId;
folderNode.root = parent;
@ -542,7 +542,7 @@ window.qBittorrent.PropFiles = (function() {
title: "QBT_TR(Renaming)QBT_TR[CONTEXT=TorrentContentTreeView]",
loadMethod: 'iframe',
contentURL: 'rename_file.html?hash=' + hash + '&isFolder=' + node.isFolder
+ '&path=' + encodeURIComponent(path),
+ '&path=' + encodeURIComponent(path),
scrollbars: false,
resizable: false,
maximizable: false,