mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 21:28:07 -06:00
[Web UI] Don't update the tabs if tab's panel is collapsed
This commit is contained in:
@@ -54,7 +54,8 @@ var current_hash = "";
|
||||
|
||||
var loadTrackersDataTimer;
|
||||
var loadTrackersData = function() {
|
||||
if ($('prop_trackers').hasClass('invisible')) {
|
||||
if ($('prop_trackers').hasClass('invisible') ||
|
||||
$('propertiesPanel_collapseToggle').hasClass('panel-expand')) {
|
||||
// Tab changed, don't do anything
|
||||
return;
|
||||
}
|
||||
@@ -127,4 +128,4 @@ $('addTrackersPlus').addEvent('click', function addTrackerDlg() {
|
||||
width: 500,
|
||||
height: 250
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user