From 7dd3525a663334c130263435d7c64a7ffdfe2d8a Mon Sep 17 00:00:00 2001 From: liyuchun Date: Fri, 12 Nov 2021 11:17:42 +0800 Subject: [PATCH] * Fix bug #16163. --- module/execution/js/kanban.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js index f34b90315e..e43e4e874e 100644 --- a/module/execution/js/kanban.js +++ b/module/execution/js/kanban.js @@ -649,6 +649,7 @@ function resizeKanbanContainer() { var $container = $('#kanbanContainer'); var maxHeight = window.innerHeight - 98 - 15; + if($.cookie('isFullScreen') == 1) maxHeight = window.innerHeight - 15; $container.children('.panel-body').css('max-height', maxHeight); } @@ -683,6 +684,8 @@ $.extend($.fn.kanban.Constructor.DEFAULTS, /* Example code: */ $(function() { + $.cookie('isFullScreen', 0); + /* Common options 用于初始化看板的通用选项 */  var commonOptions = {