mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Fix typos
This commit is contained in:
parent
88bd4f270f
commit
6680fdda18
71 changed files with 164 additions and 164 deletions
|
@ -1135,9 +1135,9 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
// progress
|
||||
this.columns['progress'].updateTd = function(td, row) {
|
||||
const progress = this.getRowValue(row);
|
||||
let progressFormated = (progress * 100).round(1);
|
||||
if (progressFormated == 100.0 && progress != 1.0)
|
||||
progressFormated = 99.9;
|
||||
let progressFormatted = (progress * 100).round(1);
|
||||
if (progressFormatted == 100.0 && progress != 1.0)
|
||||
progressFormatted = 99.9;
|
||||
|
||||
if (td.getChildren('div').length > 0) {
|
||||
const div = td.getChildren('div')[0];
|
||||
|
@ -1145,13 +1145,13 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
td.resized = false;
|
||||
div.setWidth(ProgressColumnWidth - 5);
|
||||
}
|
||||
if (div.getValue() != progressFormated)
|
||||
div.setValue(progressFormated);
|
||||
if (div.getValue() != progressFormatted)
|
||||
div.setValue(progressFormatted);
|
||||
}
|
||||
else {
|
||||
if (ProgressColumnWidth < 0)
|
||||
ProgressColumnWidth = td.offsetWidth;
|
||||
td.adopt(new window.qBittorrent.ProgressBar.ProgressBar(progressFormated.toFloat(), {
|
||||
td.adopt(new window.qBittorrent.ProgressBar.ProgressBar(progressFormatted.toFloat(), {
|
||||
'width': ProgressColumnWidth - 5
|
||||
}));
|
||||
td.resized = false;
|
||||
|
@ -1592,12 +1592,12 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
// progress
|
||||
this.columns['progress'].updateTd = function(td, row) {
|
||||
const progress = this.getRowValue(row);
|
||||
let progressFormated = (progress * 100).round(1);
|
||||
if (progressFormated == 100.0 && progress != 1.0)
|
||||
progressFormated = 99.9;
|
||||
progressFormated += "%";
|
||||
td.set('text', progressFormated);
|
||||
td.set('title', progressFormated);
|
||||
let progressFormatted = (progress * 100).round(1);
|
||||
if (progressFormatted == 100.0 && progress != 1.0)
|
||||
progressFormatted = 99.9;
|
||||
progressFormatted += "%";
|
||||
td.set('text', progressFormatted);
|
||||
td.set('title', progressFormatted);
|
||||
};
|
||||
|
||||
// dl_speed, up_speed
|
||||
|
@ -3064,7 +3064,7 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
|
||||
filterText: '',
|
||||
|
||||
filterdLength: function() {
|
||||
filteredLength: function() {
|
||||
return this.tableBody.getElements('tr').length;
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue