* Modify the code judgment logic.

This commit is contained in:
tianshujie
2022-03-30 10:10:19 +08:00
parent b638bd1c83
commit 63e915a555
2 changed files with 2 additions and 5 deletions
+1 -2
View File
@@ -1499,10 +1499,9 @@ function resetRegionHeight(fold)
$('.kanban-lane').each(function()
{
laneCount ++;
if(laneCount > 1) return;
if(laneCount > 1) return true;
});
if(laneCount > 1) return;
var regionHeaderHeight = $('.region-header').outerHeight();
if(fold == 'open')
{
+1 -3
View File
@@ -1222,11 +1222,9 @@ function resetKanbanHeight()
$('.kanban-lane').each(function()
{
laneCount ++;
if(laneCount > 1) return;
if(laneCount > 1) return true;
});
if(laneCount > 1) return;
var windowHeight = $(window).height();
var headerHeight = $('#mainHeader').outerHeight();
var mainPadding = $('#main').css('padding-top');