* fix project dropmenu not work as expected.

This commit is contained in:
Hao Sun
2021-07-09 14:56:17 +08:00
parent 7e52bb680a
commit 0e6b12d782
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ foreach($projects as $programID => $programProjects)
<div class="table-col col-left">
<div class='list-group'>
<ul class="nav nav-tabs">
<li class="active"><?php echo html::a('#myProject', $lang->project->myProject, '', "data-toggle='tab'");?><li>
<li><?php echo html::a('#other', $lang->project->other, '', "data-toggle='tab'")?><li>
<li class="active"><?php echo html::a('#myProject', $lang->project->myProject, '', "data-toggle='tab' class='not-list-item not-clear-menu'");?><li>
<li><?php echo html::a('#other', $lang->project->other, '', "data-toggle='tab' class='not-list-item not-clear-menu'")?><li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="myProject">
+1 -1
View File
@@ -846,7 +846,7 @@ function scrollToSelected(id)
$id = $(id);
$selected = $id.find('.selected');
$id.mouseout(function(){$(this).find('.active').removeClass('active')});
$id.mouseout(function(){$(this).find('a.active:not(.not-list-item)').removeClass('active')});
if($selected.length > 0)
{
var offsetHeight = 75;
+4 -4
View File
File diff suppressed because one or more lines are too long