* Modify the problem of navigation highlight at showfiles page.

This commit is contained in:
qiyu-xie
2021-07-29 16:18:15 +08:00
parent d180d67c91
commit f62cbc2792
2 changed files with 6 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
$(function()
{
$('#navbar .nav li').removeClass('active');
$("#navbar .nav li[data-id=" + type + ']').addClass('active');
});
+1 -2
View File
@@ -117,8 +117,7 @@
<?php endif?>
</div>
</div>
<?php js::set('type', 'doc');?>
<?php js::set('type', $type);?>
<script>
<?php
$sessionString = $config->requestType == 'PATH_INFO' ? '?' : '&';