* Modify the code judgment logic.
This commit is contained in:
@@ -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')
|
||||
{
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user