v2.7.2 dev

* 2023-02-04 v2.7.2 dev
- 增加 [web-indexr](https://github.com/rehiy/web-indexr) 文件管理
- - web-indexr处于实验中,作为Tinyfilemanager的替代
- 修复开启登录上传后,上传者账号上传失败 [#87](https://github.com/icret/EasyImages2.0/issues/87#issue-1569794639)
- 优化排版和移动端显示
This commit is contained in:
icret
2023-02-04 10:55:33 +08:00
parent fae2b6effe
commit e632634154
8 changed files with 43 additions and 30 deletions

View File

@@ -65,8 +65,9 @@ if ($config['notice_status'] == 1 && !empty($config['notice'])) : ?>
// 导航状态
$('.nav-pills').find('a').each(function() {
if (this.href == document.location.href) {
$(this).parent().addClass('active'); // this.className = 'active';
// console.log(document.location);
if (this.pathname == document.location.pathname) {
$(this).parent().addClass('active');
}
});