From 01286bd2840426ddc29e7e64b1a4e32e93095722 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 30 May 2019 17:44:03 +0800 Subject: [PATCH] adjust for fixFeatureBar. --- module/bug/js/browse.js | 1 + module/project/js/task.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/bug/js/browse.js b/module/bug/js/browse.js index 5bd584904b..c9c9c78c7c 100644 --- a/module/bug/js/browse.js +++ b/module/bug/js/browse.js @@ -1,6 +1,7 @@ $(function() { if($('#bugList thead th.c-title').width() < 150) $('#bugList thead th.c-title').width(150); + setTimeout(function(){fixFeatureBar();}, 10); if(flow == 'onlyTest') { diff --git a/module/project/js/task.js b/module/project/js/task.js index f74c7c99d0..cc58fc0d67 100644 --- a/module/project/js/task.js +++ b/module/project/js/task.js @@ -1,7 +1,7 @@ $(function() { if($('#taskList thead th.c-name').width() < 150) $('#taskList thead th.c-name').width(150); - setTimeout(function(){fixFeatureBar();}, 500); + setTimeout(function(){fixFeatureBar();}, 10); }); $('#module' + moduleID).closest('li').addClass('active');