mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Optimize Web UI to use less CPU
* Do not refresh filtered torrents since they are not visible * Do not refresh torrent name in list since it connot change - Fixed unitialized torrent status when it was added to the list (it did not cause any issue but it was not optimal)
This commit is contained in:
parent
d99dc65b19
commit
d22e932ef7
2 changed files with 19 additions and 17 deletions
|
@ -135,7 +135,7 @@ window.addEvent('domready', function(){
|
|||
// New unfinished torrent
|
||||
torrent_hashes[torrent_hashes.length] = event.hash;
|
||||
//alert("Inserting row");
|
||||
myTable.insertRow(event.hash, row);
|
||||
myTable.insertRow(event.hash, row, event.state);
|
||||
} else {
|
||||
// Update torrent data
|
||||
myTable.updateRow(event.hash, row, event.state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue