mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
[Web UI] Don't update the tabs if tab's panel is collapsed
This commit is contained in:
@@ -273,7 +273,8 @@ var filesDynTable = new Class({
|
||||
|
||||
var loadTorrentFilesDataTimer;
|
||||
var loadTorrentFilesData = function() {
|
||||
if ($('prop_files').hasClass('invisible')) {
|
||||
if ($('prop_files').hasClass('invisible') ||
|
||||
$('propertiesPanel_collapseToggle').hasClass('panel-expand')) {
|
||||
// Tab changed, don't do anything
|
||||
return;
|
||||
}
|
||||
@@ -347,4 +348,4 @@ var updateTorrentFilesData = function() {
|
||||
}
|
||||
|
||||
fTable = new filesDynTable();
|
||||
fTable.setup($('filesTable'));
|
||||
fTable.setup($('filesTable'));
|
||||
|
||||
Reference in New Issue
Block a user