mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 23:42:46 -07:00
Show speed in title
This commit is contained in:
parent
f44f676729
commit
b2876b7f66
2 changed files with 8 additions and 0 deletions
|
@ -112,6 +112,11 @@ window.addEvent('load', function(){
|
|||
.replace("%2", friendlyUnit(info.dl_info_data, false)));
|
||||
$("UpInfos").set('html', "_(U: %1 - T: %2)".replace("%1", friendlyUnit(info.up_info_speed, true))
|
||||
.replace("%2", friendlyUnit(info.up_info_data, false)));
|
||||
if(info.show_speed_in_title) {
|
||||
document.title = "_(D:%1 U:%2)".replace("%1", friendlyUnit(info.dl_info_speed, true)).replace("%2", friendlyUnit(info.up_info_speed, true));
|
||||
} else {
|
||||
document.title = "_(qBittorrent web User Interface)";
|
||||
}
|
||||
waitingTrInfo=false;
|
||||
loadTransferInfo.delay(3000);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue