[Web UI] Don't update the tabs if tab's panel is collapsed

This commit is contained in:
ngosang
2015-06-13 14:15:49 +02:00
parent 263d45ca9d
commit e6f2926ccd
5 changed files with 14 additions and 6 deletions

View File

@@ -54,7 +54,8 @@ var current_hash = "";
var loadWebSeedsDataTimer;
var loadWebSeedsData = function() {
if ($('prop_webseeds').hasClass('invisible')) {
if ($('prop_webseeds').hasClass('invisible') ||
$('propertiesPanel_collapseToggle').hasClass('panel-expand')) {
// Tab changed, don't do anything
return;
}